]> git.kaiwu.me - nginx.git/commit
Upstream: reading from a client after connection upgrade.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 22 Jan 2014 12:05:07 +0000 (16:05 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 22 Jan 2014 12:05:07 +0000 (16:05 +0400)
commitc74e23ba3af8d9d8da048cb40bb7d77ab0143a94
tree190b32e2e2d245aa3e5931d7da7cf450f1d25901
parent096bcd03c30280778178fd3698afd56a8e3938e5
Upstream: reading from a client after connection upgrade.

Read event on a client connection might have been disabled during
previous processing, and we at least need to handle events.  Calling
ngx_http_upstream_process_upgraded() is a simpliest way to do it.

Notably this change is needed for select, poll and /dev/poll event
methods.

Previous version of this patch was posted here:
http://mailman.nginx.org/pipermail/nginx/2014-January/041839.html
src/http/ngx_http_upstream.c