}
}catch ( IOException x ) {
if ( log.isDebugEnabled() ) log.warn("Unable to complete sendfile request:", x);
- else log.warn("Unable to complete sendfile request:"+x.getMessage());
cancelledKey(sk,SocketStatus.ERROR,false);
return false;
}catch ( Throwable t ) {
}
if ( handshake == 0 ) {
// Process the request from this socket
- // Process the request from this socket
boolean closed = (status==null)?(handler.process(socket)==Handler.SocketState.CLOSED) :
(handler.event(socket,status)==Handler.SocketState.CLOSED);