comparison src/http/ngx_http.c @ 526:0161f3197817 NGINX_0_8_15

nginx 0.8.15 *) Security: a segmentation fault might occur in worker process while specially crafted request handling. Thanks to Chris Ries. *) Bugfix: if names .domain.tld, .sub.domain.tld, and .domain-some.tld were defined, then the name .sub.domain.tld was matched by .domain.tld. *) Bugfix: in transparency support in the ngx_http_image_filter_module. *) Bugfix: in file AIO. *) Bugfix: in X-Accel-Redirect usage; the bug had appeared in 0.8.11. *) Bugfix: in embedded perl module; the bug had appeared in 0.8.11.
author Igor Sysoev <http://sysoev.ru>
date Mon, 14 Sep 2009 00:00:00 +0400
parents 98143f74eb3d
children 1dcf6adad484
comparison
equal deleted inserted replaced
525:1b64f9884263 526:0161f3197817
1599 ngx_hash_key_t *first, *second; 1599 ngx_hash_key_t *first, *second;
1600 1600
1601 first = (ngx_hash_key_t *) one; 1601 first = (ngx_hash_key_t *) one;
1602 second = (ngx_hash_key_t *) two; 1602 second = (ngx_hash_key_t *) two;
1603 1603
1604 return ngx_strcmp(first->key.data, second->key.data); 1604 return ngx_dns_strcmp(first->key.data, second->key.data);
1605 } 1605 }
1606 1606
1607 1607
1608 static ngx_int_t 1608 static ngx_int_t
1609 ngx_http_init_listening(ngx_conf_t *cf, ngx_http_conf_port_t *port) 1609 ngx_http_init_listening(ngx_conf_t *cf, ngx_http_conf_port_t *port)