log.debug("Received wrong secret, no shutdown ");
return ERROR;
}
// XXX add isSameAddress check
JkHandler ch=ep.getSource();
if( ch instanceof ChannelSocket ) {
if( ! ((ChannelSocket)ch).isSameAddress(ep) ) {
log.error("Shutdown request not from 'same address' ");
return ERROR;
}