Welcome! Log In Create A New Profile

Advanced

Re: Bug in request.headers_out initialization?

November 24, 2011 04:56AM
No problem at all, helped me understand the software a little more :)

On Thu, Nov 24, 2011 at 1:48 PM, Igor Sysoev <igor@sysoev.ru> wrote:

> On Thu, Nov 24, 2011 at 10:36:11AM +0530, Fasih wrote:
> > Hi Igor
> >
> > Really thankful for your patience with me. I think I now understood what
> > you are saying :).
> >
> > To summarize, header.hash == 0 is used as a flag
> > in ngx_http_header_filter_module.c:http_header_filter to test whether to
> > send the header downstream or not. Setting it to 1(or anything non-zero)
> is
> > to ensure that the header is sent downstream.
> >
> > Since headers_out is not used by nginx core to do hash lookups, it doesnt
> > calculate hash or lowcase_key, however modules like proxy or fastcgi use
> > the hash value for their own benefit in which case they ensure that the
> > hash/lowcase_key is initialized.
> >
> > I hope I got it right this time.
>
> Yes. Sorry, I could not explain it from the very start.
>
>
> --
> Igor Sysoev
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Bug in request.headers_out initialization?

faskiri.devel 1429 November 23, 2011 11:36AM

Re: Bug in request.headers_out initialization?

Igor Sysoev 721 November 23, 2011 11:42AM

Re: Bug in request.headers_out initialization?

Fasihullah Askiri 498 November 23, 2011 11:50AM

Re: Bug in request.headers_out initialization?

Igor Sysoev 693 November 23, 2011 11:52AM

Re: Bug in request.headers_out initialization?

Fasihullah Askiri 532 November 23, 2011 12:04PM

Re: Bug in request.headers_out initialization?

Igor Sysoev 623 November 23, 2011 12:10PM

Re: Bug in request.headers_out initialization?

faskiri.devel 566 November 23, 2011 12:30PM

Re: Bug in request.headers_out initialization?

Igor Sysoev 799 November 23, 2011 01:52PM

Re: Bug in request.headers_out initialization?

faskiri.devel 656 November 24, 2011 12:08AM

Re: Bug in request.headers_out initialization?

Igor Sysoev 711 November 24, 2011 03:20AM

Re: Bug in request.headers_out initialization?

faskiri.devel 636 November 24, 2011 04:56AM



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

Online Users

Guests: 161
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready