- Better bookkeeping when reclaiming the TCP buffer.

This commit is contained in:
George Thessalonikefs 2022-01-25 09:57:14 +01:00
parent 4573629fc4
commit f0c6d26155

View file

@ -1146,6 +1146,8 @@ reclaim_tcp_handler(struct comm_point* c)
}
c->tcp_more_read_again = NULL;
c->tcp_more_write_again = NULL;
c->tcp_byte_count = 0;
sldns_buffer_clear(c->buffer);
}
/** do the callback when writing is done */