Is there a bug in ngx_http_upstream_module's broken connection check code?

Maxim Dounin mdounin at mdounin.ru
Fri Jun 24 06:26:37 MSD 2011


Hello!

On Thu, Jun 23, 2011 at 10:24:17PM -0400, speedfirst wrote:

> So will it trigger a bug like this?
> 1. client access nginx via https
> 2. nginx proxy pass the request to upstream
> 3. before upstream response, client close the connection, then dispose
> current ngx_http_request_t object and its memory pool
> 4. upstream sends back the response and invoke the read handler
> 5. the handler uses a disposed ngx_http_request_t object, and segment
> fault.

No.

Maxim Dounin



More information about the nginx mailing list