comparison src/core/ngx_cycle.c @ 582:c456a023113c NGINX_0_8_43

nginx 0.8.43 *) Feature: large geo ranges base loading speed-up. *) Bugfix: an error_page redirection to "location /zero { return 204; }" without changing status code kept the error body; the bug had appeared in 0.8.42. *) Bugfix: nginx might close IPv6 listen socket during reconfiguration. Thanks to Maxim Dounin. *) Bugfix: the $uid_set variable may be used at any request processing stage.
author Igor Sysoev <http://sysoev.ru>
date Wed, 30 Jun 2010 00:00:00 +0400
parents 01f2313e34f1
children 6c96fdd2dfc3
comparison
equal deleted inserted replaced
581:22b2345b75d9 582:c456a023113c
866 #if (NGX_HAVE_INET6) 866 #if (NGX_HAVE_INET6)
867 case AF_INET6: 867 case AF_INET6:
868 sin61 = (struct sockaddr_in6 *) sa1; 868 sin61 = (struct sockaddr_in6 *) sa1;
869 sin62 = (struct sockaddr_in6 *) sa2; 869 sin62 = (struct sockaddr_in6 *) sa2;
870 870
871 if (sin61->sin6_port != sin61->sin6_port) { 871 if (sin61->sin6_port != sin62->sin6_port) {
872 return NGX_DECLINED; 872 return NGX_DECLINED;
873 } 873 }
874 874
875 if (ngx_memcmp(&sin61->sin6_addr, &sin62->sin6_addr, 16) != 0) { 875 if (ngx_memcmp(&sin61->sin6_addr, &sin62->sin6_addr, 16) != 0) {
876 return NGX_DECLINED; 876 return NGX_DECLINED;