- Fix for #283: fix stream reuse and tcp fast open.

This commit is contained in:
W.C.A. Wijngaards 2020-12-02 15:42:24 +01:00
parent e049fb303c
commit 0502ab3026
2 changed files with 6 additions and 1 deletions

View file

@ -6,6 +6,7 @@
- Fix unbound-dnstap-socket to not use log routine from interrupt
handler and not print so frequently when invoked in sequence.
- Fix on windows to ignore connection failure on UDP, unless verbose.
- Fix for #283: fix stream reuse and tcp fast open.
1 December 2020: Wouter
- Fix #358: Squelch udp connect 'no route to host' errors on low

View file

@ -2064,7 +2064,11 @@ comm_point_tcp_handle_callback(int fd, short event, void* arg)
}
return;
}
if(event&UB_EV_READ) {
if(event&UB_EV_READ
#ifdef USE_MSG_FASTOPEN
&& !c->tcp_do_fastopen
#endif
) {
int has_tcpq = (c->tcp_req_info != NULL);
int* moreread = c->tcp_more_read_again;
if(!comm_point_tcp_handle_read(fd, c, 0)) {