It is used in at least one method inherited from `IncomingTCPConnectionState`.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
if (newState == IOState::Done) {
d_pendingWrite = false;
+ d_lastIOBlocked = false; // setting this does matter, because it is used in IncomingTCPConnectionState::queueResponse
d_out.clear();
d_outPos = 0;
if (active() && !d_connectionClosing) {
if (got > 0) {
/* we got something */
+ d_lastIOBlocked = false; // setting this does matter, because it is used in IncomingTCPConnectionState::queueResponse
auto readlen = nghttp2_session_mem_recv(d_session.get(), d_in.data(), d_in.size());
/* as long as we don't require a pause by returning nghttp2_error.NGHTTP2_ERR_PAUSE from a CB,
all data should be consumed before returning */