]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
stream reuse, fix tls close by upstream after timeout write event handling.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 30 Jul 2020 15:51:13 +0000 (17:51 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 30 Jul 2020 15:51:13 +0000 (17:51 +0200)
services/outside_network.c

index acbc28eaf29d371c7c88c1e5d08e21f4349d7d70..0b0b928b0aa0dd78d56c6a37d6df717edc33b3c4 100644 (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