ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nginx 0.8.42: все еще теряет v6 сокеты при релоаде?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maxim Dounin wrote:
> Hello!
> 
> On Wed, Jun 30, 2010 at 01:35:13AM +0400, Alexander V. Chernikov wrote:
> 
> [...]
> 
>> Все, [::]:8080 пропало.
> 
> Патч:
> 
> diff --git a/src/core/ngx_cycle.c b/src/core/ngx_cycle.c
> --- a/src/core/ngx_cycle.c
> +++ b/src/core/ngx_cycle.c
> @@ -868,7 +868,7 @@ ngx_cmp_sockaddr(struct sockaddr *sa1, s
>          sin61 = (struct sockaddr_in6 *) sa1;
>          sin62 = (struct sockaddr_in6 *) sa2;
> 
> -        if (sin61->sin6_port != sin61->sin6_port) {
> +        if (sin61->sin6_port != sin62->sin6_port) {
>              return NGX_DECLINED;
>          }
> 
> 
> 
> Maxim Dounin

Спасибо, все работает :)

> 
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@xxxxxxxxx
> http://nginx.org/mailman/listinfo/nginx-ru

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwrpCQACgkQwcJ4iSZ1q2m+CgCfQoGfXnoY2TbBCqxm9YWHqgD9
2U8AoJc2b0to17ziPxqaC8dgffQ97Fot
=DWNZ
-----END PGP SIGNATURE-----

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.