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/4c7b7e293b38
branches:  trunk
changeset: 846874:4c7b7e293b38
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 b053fad440f8 -r 4c7b7e293b38 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