cocosip / FastDFSCore

distributed file system fastdfs c# client
MIT License
37 stars 6 forks source link

如何支持reconnect? #8

Closed ghost closed 4 years ago

ghost commented 4 years ago

RT

cocosip commented 4 years ago

FastDFSOption 中的 TcpSetting 节点下的 EnableReConnect 控制着是否启用重连机制。 FastDFSOption代码 重连的实现代码可以参考: DotNettyConnection中的代码实现

最近对通讯这块进行了分离,DotNetty这块的代码以后可以用其他通讯库,如 SuperSocket替代。