nginx-0.7.36

Igor Sysoev is at rambler-co.ru
Sat Feb 21 21:05:17 MSK 2009


On Sat, Feb 21, 2009 at 08:50:10PM +0300, Kirill A. Korinskiy wrote:

> At Sat, 21 Feb 2009 10:30:49 +0300,
> Igor Sysoev <is at rambler-co.ru> wrote:
> > 
> >     *) Добавление: предварительная поддержка IPv6; директива listen модуля 
> >        HTTP поддерживает IPv6.
> > 
> 
> А правильно ли я понимаю что geo, access и iphash продолжаю работать
> только с v4?

Да. Причём для geo поддержка ipv6 вряд ли появится в скором времени
ввиду отстутсвия баз.

> Кстати а какой смысл в:
> 
> diff -uNar nginx-0.7.35/src/http/modules/ngx_http_empty_gif_module.c nginx-0.7.36/src/http/modules/ngx_http_empty_gif_module.c
> --- nginx-0.7.35/src/http/modules/ngx_http_empty_gif_module.c   2007-09-28 13:48:25.000000000 +0400
> +++ nginx-0.7.36/src/http/modules/ngx_http_empty_gif_module.c   2009-02-17 11:37:36.000000000 +0300
> @@ -122,6 +122,7 @@
>          return rc;
>      }
>  
> +    r->headers_out.content_type_len = sizeof("image/gif") - 1;
>      r->headers_out.content_type.len = sizeof("image/gif") - 1;
>      r->headers_out.content_type.data = (u_char *) "image/gif";

ngx_http_test_content_type() не находил в таких ответах "image/gif".


-- 
Игорь Сысоев
http://sysoev.ru





More information about the nginx-ru mailing list