Welcome! Log In Create A New Profile

Advanced

Re: Reading body during the REWRITE phase ?

Maxim Dounin
January 20, 2016 12:32PM
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/

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Reading body during the REWRITE phase ?

Thibault Koechlin 332 January 15, 2016 09:02AM

Re: Reading body during the REWRITE phase ?

Sergey Brester 243 January 15, 2016 10:14AM

Re: Reading body during the REWRITE phase ?

Maxim Dounin 188 January 15, 2016 10:54AM

Re: Reading body during the REWRITE phase ?

Yichun Zhang (agentzh) 179 January 15, 2016 05:00PM

Re: Reading body during the REWRITE phase ?

Maxim Dounin 200 January 20, 2016 12:32PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 170
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready