mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-30 02:09:28 -05:00
stream reuse, fix tls close by upstream after timeout write event handling.
This commit is contained in:
parent
12d880ad47
commit
7a211e5a07
1 changed files with 1 additions and 0 deletions
|
|
@ -543,6 +543,7 @@ outnet_tcp_take_query_setup(int s, struct pending_tcp* pend,
|
|||
pend->c->tcp_write_pkt_len = w->pkt_len;
|
||||
pend->c->tcp_write_and_read = 1;
|
||||
pend->c->tcp_write_byte_count = 0;
|
||||
pend->c->tcp_is_reading = 0;
|
||||
comm_point_start_listening(pend->c, s, -1);
|
||||
/* set timer on the waiting_tcp entry, this is the write timeout
|
||||
* for the written packet. The timer on pend->c is the timer
|
||||
|
|
|
|||
Loading…
Reference in a new issue