File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/main/java/org/red5/net/websocket Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,6 @@ public void afterPropertiesSet() throws Exception {
89
89
sessionConf .setReadBufferSize (receiveBufferSize );
90
90
// close sessions when the acceptor is stopped
91
91
acceptor .setCloseOnDeactivation (true );
92
- acceptor .setHandler (ioHandler );
93
92
// requested maximum length of the queue of incoming connections
94
93
acceptor .setBacklog (64 );
95
94
acceptor .setReuseAddress (true );
@@ -98,6 +97,7 @@ public void afterPropertiesSet() throws Exception {
98
97
ioHandler = new WebSocketHandler ();
99
98
}
100
99
log .trace ("I/O handler: {}" , ioHandler );
100
+ acceptor .setHandler (ioHandler );
101
101
DefaultIoFilterChainBuilder chain = acceptor .getFilterChain ();
102
102
// if handling wss init the config
103
103
SslFilter sslFilter = null ;
You can’t perform that action at this time.
0 commit comments