Welcome! Log In Create A New Profile

Advanced

Re: Add new cookie into headers_in

agentzh
January 25, 2011 11:38PM
On Tue, Jan 25, 2011 at 8:54 PM, Maxim Dounin <mdounin@mdounin.ru> wrote:
>> I have already read this recommendation in another topic. But
>> headers_more_module can modify header_in.headers and I wanted to do it
>
> The fact that some third-party module does this doesn't mean that
> it's correct.
>

The ngx_headers_more module does use some tricks to get around the bug
that nginx does not copy the input headers struct into subrequests' in
a right way :) I won't say that my hack there is not flawless, but I'm
open to any concrete test cases that can make it fail ;)

Re michalkraus: if you want to do that, just check ngx_headers_more's
source code. If it fails for you, just send a mail to me or file a bug
for my module :)

Cheers,
-agentzh

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

Add new cookie into headers_in

michalkraus January 24, 2011 10:07AM

Re: Add new cookie into headers_in

Maxim Dounin January 24, 2011 10:40AM

Re: Add new cookie into headers_in

michalkraus January 25, 2011 03:34AM

Re: Add new cookie into headers_in

Maxim Dounin January 25, 2011 07:58AM

Re: Add new cookie into headers_in

agentzh January 25, 2011 11:38PM

Re: Add new cookie into headers_in

agentzh January 25, 2011 11:50PM

Re: Add new cookie into headers_in

agentzh January 25, 2011 11:56PM

Re: Add new cookie into headers_in

michalkraus January 26, 2011 02:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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