- Fix that after failed read, the readagain cannot activate.

This commit is contained in:
W.C.A. Wijngaards 2020-11-26 12:12:52 +01:00
parent e9810e1154
commit 67a0614db7
2 changed files with 3 additions and 0 deletions

View file

@ -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.

View file

@ -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);