forked from KNEMC/KLALB
提高程序的稳定性
This commit is contained in:
@@ -47,6 +47,9 @@ public class KLALBServer {
|
||||
tcc.setTunnel(tll);
|
||||
|
||||
UUID uid=new UUID(din.readLong(),din.readLong());
|
||||
|
||||
tcc.handshake(10);
|
||||
|
||||
IOThreadManager nx = null;
|
||||
synchronized (tcpl) {
|
||||
if(whm.containsKey(uid)) {
|
||||
@@ -80,8 +83,6 @@ public class KLALBServer {
|
||||
whm.put(uid, nx);
|
||||
}
|
||||
}
|
||||
tcc.getDout().write(0);
|
||||
tcc.getDout().flush();
|
||||
nx.handleRemote(tcc);
|
||||
}catch(IOException e) {
|
||||
e.printStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user