Welcome! Log In Create A New Profile

Advanced

Re: subrequest and POST

Roman Vasilyev
June 14, 2011 07:40PM
On 06/14/2011 04:35 PM, Roman Vasilyev wrote:
> Hi,
>
> Whan to add that fixed it by removing all headers from main request.
Sorry, removing from *subrequest*.
>
> sr->headers_in.headers.part.nelts=0;
>
> Is it correct? Or exists more clear way to do that?
>
> On 06/14/2011 10:43 AM, Roman Vasilyev wrote:
>> Hi,
>>
>> I'm writing code, which making decision to accept or not rest of
>> request in NGINX. For that I've created 2 modules, one subrequest
>> module, another one accepting "client_max_body_size_var".
>>
>> Everything works fine, except POST data, I can get result of
>> subrequest only when POST finished,
>> can I get subrequest data before accepting or declining request_body?
>>
>> Regards
>> Roman Vasilyev
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://nginx.org/mailman/listinfo/nginx
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx


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

subrequest and POST

Roman Vasilyev June 14, 2011 01:46PM

Re: subrequest and POST

Roman Vasilyev June 14, 2011 07:38PM

Re: subrequest and POST

Roman Vasilyev June 14, 2011 07:40PM

Re: subrequest and POST

Maxim Dounin June 14, 2011 08:04PM

Re: subrequest and POST

Roman Vasilyev June 15, 2011 07:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 161
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