summaryrefslogtreecommitdiff
path: root/src/http/ngx_http_upstream.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2021-03-28 17:45:31 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2021-03-28 17:45:31 +0300
commitcb9fca08465a90a46a8a5143c58b994c3419b49c (patch)
tree84fe28cffa59dbb6db9fb66c8d8905eb0d4ec34a /src/http/ngx_http_upstream.c
parentfd0546aa33d2b28fc89753c15439f356485ad845 (diff)
downloadnginx-cb9fca08465a90a46a8a5143c58b994c3419b49c.tar.gz
Resolver: added missing event handling after reading.
If we need to be notified about further events, ngx_handle_read_event() needs to be called after a read event is processed. Without this, an event can be removed from the kernel and won't be reported again, notably when using oneshot event methods, such as eventport on Solaris. While here, error handling is also added, similar to one present in ngx_resolver_tcp_read(). This is not expected to make a difference and mostly added for consistency.
Diffstat (limited to 'src/http/ngx_http_upstream.c')
0 files changed, 0 insertions, 0 deletions