How to abort subrequest properly?
dakota at brokenpipe.ru
Wed Jul 3 00:34:26 UTC 2013
On Sun, Jun 30, 2013 at 3:04 PM, Marat Dakota <dakota at brokenpipe.ru> wrote:
> I am parsing a subrequest's body as it arrives. At some point I could
> decide that the subrequest's body is not well-formed. I want to stop
> receiving the rest of the subrequest's body and close its connection. My
> main request and all other subrequests should continue working.
> I've tried something like ngx_http_finalize_request(sr, NGX_ABORT). It
> looks like it's not the thing.
> What steps should be applied to abort a subrequest?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel