From: W.C.A. Wijngaards Date: Mon, 19 Oct 2020 10:55:43 +0000 (+0200) Subject: - Fix to set the tcp handler event toggle flag back to default when X-Git-Tag: release-1.13.0rc1~31^2~2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=68c57314c4e02079569ed697b9273fa9faaafeb6;p=thirdparty%2Funbound.git - Fix to set the tcp handler event toggle flag back to default when the handler structure is reused. --- diff --git a/doc/Changelog b/doc/Changelog index b09e0aeee..3f1c70a8d 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -12,6 +12,8 @@ - Fix python documentation warning on functions.rst inplace_cb_reply. - Fix dnstap test to wait for log timer to see if queries are logged. - Log ip address when http session recv fails, eg. due to tls fail. + - Fix to set the tcp handler event toggle flag back to default when + the handler structure is reused. 16 October 2020: Wouter - Fix that the out of order TCP processing does not limit the diff --git a/util/netevent.c b/util/netevent.c index a40f44dd0..1e501b9ab 100644 --- a/util/netevent.c +++ b/util/netevent.c @@ -965,6 +965,7 @@ comm_point_tcp_accept_callback(int fd, short event, void* arg) /* clear leftover flags from previous use, and then set the * correct event base for the event structure for libevent */ ub_event_free(c_hdl->ev->ev); + c_hdl->tcp_do_toggle_rw = 1; if(c_hdl->type == comm_http) { #ifdef HAVE_NGHTTP2