Commit dae6490e authored by sheteng's avatar sheteng

fix

parent df78610d
......@@ -108,7 +108,7 @@ public class SocketManageer {
//获得当前连接通道的参配对象
OkSocketOptions.Builder okOptionsBuilder = new OkSocketOptions.Builder();
okOptionsBuilder.setReaderProtocol(new MyIReaderProtocol());
okOptionsBuilder.setConnectionHolden(false);
// okOptionsBuilder.setConnectionHolden(false);
//将新的修改后的参配设置给连接管理器
manager.option(okOptionsBuilder.build());
//调用通道进行连接
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment