Mercurial > hg > nginx-vendor-current
comparison src/core/ngx_inet.c @ 614:bb20316269e4 NGINX_0_9_5
nginx 0.9.5
*) Change: now nginx uses a default listen backlog value -1 on
Linux.
Thanks to Andrei Nigmatulin.
*) Feature: the "utf8" parameter of "geoip_country" and "geoip_city"
directives.
Thanks to Denis F. Latypoff.
*) Bugfix: in a default "proxy_redirect" directive if "proxy_pass"
directive has no URI part.
Thanks to Maxim Dounin.
*) Bugfix: an "error_page" directive did not work with nonstandard
error codes; the bug had appeared in 0.8.53.
Thanks to Maxim Dounin.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 21 Feb 2011 00:00:00 +0300 |
parents | 25255878df91 |
children | 8dc007eddbcf |
comparison
equal
deleted
inserted
replaced
613:eaf85af608b8 | 614:bb20316269e4 |
---|---|
941 return NGX_ERROR; | 941 return NGX_ERROR; |
942 } | 942 } |
943 | 943 |
944 u->naddrs = i; | 944 u->naddrs = i; |
945 | 945 |
946 for (i = 0; h->h_addr_list[i] != NULL; i++) { | 946 for (i = 0; i < u->naddrs; i++) { |
947 | 947 |
948 sin = ngx_pcalloc(pool, sizeof(struct sockaddr_in)); | 948 sin = ngx_pcalloc(pool, sizeof(struct sockaddr_in)); |
949 if (sin == NULL) { | 949 if (sin == NULL) { |
950 return NGX_ERROR; | 950 return NGX_ERROR; |
951 } | 951 } |