]> git.kaiwu.me - nginx.git/commit
Request body: properly handle events while discarding body.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 21 Nov 2012 00:57:56 +0000 (00:57 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 21 Nov 2012 00:57:56 +0000 (00:57 +0000)
commitc29837fc4dad250d6d332eddea8edbaae7af5056
tree34bde48fdcb9d58490d49885e977a9628ddc70d7
parente1bd52041bb14f4422cd809e3ff36ec039a7ac6f
Request body: properly handle events while discarding body.

An attempt to call ngx_handle_read_event() before actually reading
data from a socket might result in read event being disabled, which is
wrong.  Catched by body.t test on Solaris.
src/http/ngx_http_request_body.c