File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
net/src/main/java/com/zfoo/net/core/proxy Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public TunnelClient(HostAndPort host) {
39
39
40
40
@ Override
41
41
protected void initChannel (SocketChannel channel ) {
42
- channel .pipeline ().addLast (new IdleStateHandler (0 , 0 , 60 ));
42
+ channel .pipeline ().addLast (new IdleStateHandler (0 , 0 , 8 ));
43
43
channel .pipeline ().addLast (new TunnelClientIdleHandler ());
44
44
channel .pipeline ().addLast (new TunnelClientCodecHandler ());
45
45
channel .pipeline ().addLast (new TunnelClientRouteHandler ());
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public TunnelServer(HostAndPort host) {
37
37
38
38
@ Override
39
39
protected void initChannel (SocketChannel channel ) throws Exception {
40
- channel .pipeline ().addLast (new IdleStateHandler (0 , 0 , 180 ));
40
+ channel .pipeline ().addLast (new IdleStateHandler (0 , 0 , 32 ));
41
41
channel .pipeline ().addLast (new ServerIdleHandler ());
42
42
channel .pipeline ().addLast (new TunnelServerCodecHandler ());
43
43
channel .pipeline ().addLast (new TunnelServerRouteHandler ());
You can’t perform that action at this time.
0 commit comments