mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-01 03:09:28 -05:00
- Better bookkeeping when reclaiming the TCP buffer.
This commit is contained in:
parent
4573629fc4
commit
f0c6d26155
1 changed files with 2 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue