Reading body during the REWRITE phase ?

Maxim Dounin mdounin at mdounin.ru
Mon Jan 18 10:33:38 UTC 2016


Hello!

On Fri, Jan 15, 2016 at 01:58:56PM -0800, Yichun Zhang (agentzh) wrote:

> Hello!
> 
> On Fri, Jan 15, 2016 at 6:01 AM, Thibault Koechlin wrote:
> > When used with auth_request (or maybe other modules, but that's the
> > first time I encounter this issue within a few years of usage), there is
> > no request made to the upstream if the request is made using POST/PUT
> > and the body is bigger than client_body_buffer_size.
> >
> 
> The problem here seems to be that the subrequest initiated by
> auth_request already *consumes* the request body buffer chains which
> make later main request handlers like ngx_proxy fail to see the
> request body.

No.

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



More information about the nginx-devel mailing list