<CONTEXT>socketWrapper.setWriteTimeout(getSocketProperties().getSoTimeout());</BUG>socketWrapper.setKeepAliveLeft(Nio2Endpoint.this.getMaxKeepAliveRequests());socketWrapper.setSecure(isSSLEnabled());<extra_id_0>socketWrapper.setKeepAliveLeft(Nio2Endpoint.this.getMaxKeepAliveRequests());socketWrapper.setSecure(isSSLEnabled());<BUG>socketWrapper.setReadTimeout(getConnectionTimeout());socketWrapper.setWriteTimeout(getConnectionTimeout());</BUG>return processSocket(socketWrapper, SocketEvent.OPEN_READ, true);} catch (Throwable t) {ExceptionUtils.handleThrowable(t);</CONTEXT>
channel = new Nio2Channel(bufhandler);}}Nio2SocketWrapper socketWrapper = new Nio2SocketWrapper(channel, this);channel.reset(socket, socketWrapper);socketWrapper.setWriteTimeout(getConnectionTimeout());