stream reuse, fix tls close by upstream after timeout write event handling.

This commit is contained in:
W.C.A. Wijngaards 2020-07-30 17:51:13 +02:00
parent 12d880ad47
commit 7a211e5a07

View file

@ -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