mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix for #283: fix stream reuse and tcp fast open.
This commit is contained in:
parent
e049fb303c
commit
0502ab3026
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue