Fix the incorrect value of $host when IPv6 in Host header

Maxim Dounin mdounin at
Wed Aug 31 09:20:54 UTC 2011


On Wed, Aug 31, 2011 at 03:46:50PM +0800, Speed First wrote:

> This is the diff to fix the problem of
> Can this be integrated into main branch? Thanks.

This patch isn't enough, please see

Additionally, it's not really correct: it hides the logic under 
#if, while this should be supported even without ipv6 compiled in.  
The ticket in question links to a bit better patch (which still 
not enough though).

Maxim Dounin

More information about the nginx-devel mailing list