并发优化,不兼容以前的客户端

master
fengfei 7 years ago
parent 0814561759
commit 661d345476
  1. 2
      proxy-client/src/main/java/org/fengfei/lanproxy/client/ProxyClientContainer.java

@ -112,7 +112,7 @@ public class ProxyClientContainer implements Container, ChannelStatusListener {
// 连接成功,向服务器发送客户端认证信息(clientKey)
ClientChannelMannager.setCmdChannel(future.channel());
ProxyMessage proxyMessage = new ProxyMessage();
proxyMessage.setType(ProxyMessage.TYPE_AUTH);
proxyMessage.setType(ProxyMessage.C_TYPE_AUTH);
proxyMessage.setUri(config.getStringValue("client.key"));
future.channel().writeAndFlush(proxyMessage);
sleepTimeMill = 1000;

Loading…
Cancel
Save