Hello!

On Thu, Apr 16, 2015 at 06:02:16PM +0800, cruze guo wrote:

[...]

> but ,the (struct ngx_http_request_s) 's  write_event_handler will be
> set to ngx_http_request_empty_handler.
> 
> in ngx_http_request_body.c
> function ngx_http_read_client_request_body
> r->write_event_handler = ngx_http_request_empty_handler;
> 
> It mean  nothing will handle the next step,when you read all client
> request body!!

Write event handler is used to handle write events, and there is no need 
to set it unless nginx is writing something.  While nginx is reading 
a request body, it only needs read event handler to process new data 
from a client.

-- 
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to