//in which case we notify the conduit and reset the state
if (state.isComplete()) {
if (state.prefix == 6) {
currentRequest.getAjpClientRequestConduit().setBodyChunkRequested(state.currentIntegerPart);
state.reset();
buffer.compact();
} else {
//todo: ping?
UndertowLogger.CLIENT_LOGGER.debugf("Received invalid AJP response code %s with no request active, closing connection", state.prefix);
//invalid, at this point read body chunk is all the server should be sending
safeClose(connection);