[PATCH] ngx_event_pipe: add judgment conditions for downstream errors.
Maxim Dounin
mdounin at mdounin.ru
Wed Aug 1 13:20:22 UTC 2018
Hello!
On Wed, Aug 01, 2018 at 03:45:10PM +0800, Robinson Nie wrote:
> When a downstream error occurs, the reading upstream(
> p->upstream->recv_chain() ) is executed not only once but multiple
> times until it triggers p->upstream->read->ready becomes 0, or p->
> upstream_eof / p-> upstream_error / p -> upstream_done becomre !0.
I wrote "reading from the upstream till it blocks", and
this is what "read->ready becomes 0" means.
--
Maxim Dounin
http://mdounin.ru/
More information about the nginx-devel
mailing list