Module Name:    src
Committed By:   he
Date:           Tue Dec  3 11:25:20 UTC 2019

Modified Files:
        src/external/bsd/unbound/dist/util: netevent.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 src/external/bsd/unbound/dist/util/netevent.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/unbound/dist/util/netevent.c
diff -u src/external/bsd/unbound/dist/util/netevent.c:1.1.1.4 src/external/bsd/unbound/dist/util/netevent.c:1.2
--- src/external/bsd/unbound/dist/util/netevent.c:1.1.1.4	Sat May 25 21:18:03 2019
+++ src/external/bsd/unbound/dist/util/netevent.c	Tue Dec  3 11:25:19 2019
@@ -993,7 +993,7 @@ tcp_callback_writer(struct comm_point* c
 		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);
 	}
 }
 

Reply via email to