mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-24 02:34:56 +02:00
- Fix that after failed read, the readagain cannot activate.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
- Fix to omit UDP receive errors from log, if verbosity low.
|
||||
These happen because of udp-connect.
|
||||
- For #352: contrib/metrics.awk for Prometheus style metrics output.
|
||||
- Fix that after failed read, the readagain cannot activate.
|
||||
|
||||
25 November 2020: Wouter
|
||||
- with udp-connect ignore connection refused with UDP timeouts.
|
||||
|
||||
@@ -2053,6 +2053,7 @@ comm_point_tcp_handle_callback(int fd, short event, void* arg)
|
||||
(void)(*c->callback)(c, c->cb_arg,
|
||||
NETEVENT_CLOSED, NULL);
|
||||
}
|
||||
return;
|
||||
}
|
||||
if(has_tcpq && c->tcp_req_info && c->tcp_req_info->read_again)
|
||||
tcp_req_info_read_again(fd, c);
|
||||
@@ -2071,6 +2072,7 @@ comm_point_tcp_handle_callback(int fd, short event, void* arg)
|
||||
(void)(*c->callback)(c, c->cb_arg,
|
||||
NETEVENT_CLOSED, NULL);
|
||||
}
|
||||
return;
|
||||
}
|
||||
if(has_tcpq && c->tcp_req_info && c->tcp_req_info->read_again)
|
||||
tcp_req_info_read_again(fd, c);
|
||||
|
||||
Reference in New Issue
Block a user