Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/unbound/dist/util Apply a fix from upstream:



details:   https://anonhg.NetBSD.org/src/rev/9c3a5fae7e2b
branches:  trunk
changeset: 465754:9c3a5fae7e2b
user:      he <he%NetBSD.org@localhost>
date:      Tue Dec 03 11:25:19 2019 +0000

description:
Apply a fix from upstream:
  https://github.com/NLnetLabs/unbound/pull/122
This should enable proper functioning of tcp-idle-timeout.

diffstat:

 external/bsd/unbound/dist/util/netevent.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 13a36961963d -r 9c3a5fae7e2b external/bsd/unbound/dist/util/netevent.c
--- a/external/bsd/unbound/dist/util/netevent.c Tue Dec 03 11:22:06 2019 +0000
+++ b/external/bsd/unbound/dist/util/netevent.c Tue Dec 03 11:25:19 2019 +0000
@@ -993,7 +993,7 @@
                tcp_req_info_handle_writedone(c->tcp_req_info);
        } else {
                comm_point_stop_listening(c);
-               comm_point_start_listening(c, -1, -1);
+               comm_point_start_listening(c, -1, c->tcp_timeout_msec);
        }
 }
 



Home | Main Index | Thread Index | Old Index