comparison src/http/ngx_http_core_module.c @ 168:3314be145cb9 NGINX_0_3_31

nginx 0.3.31 *) Change: now nginx passes the malformed proxied backend responses. *) Feature: the "listen" directives support the address in the "*:port" form. *) Feature: the EVFILER_TIMER support in MacOSX 10.4. *) Workaround: for MacOSX 64-bit kernel kqueue millisecond timeout bug. Thanks to Andrei Nigmatulin. *) Bugfix: if there were several "listen" directives listening one various addresses inside one server, then server names like "*.domain.tld" worked for first address only; bug appeared in 0.3.18. *) Bugfix: if the HTTPS protocol was used in the "proxy_pass" directive and the request body was in temporarily file then the request was not transferred. *) Bugfix: perl 5.8.8 compatibility.
author Igor Sysoev <http://sysoev.ru>
date Fri, 10 Mar 2006 00:00:00 +0300
parents 6be073125f2e
children 1b490fc19afa
comparison
equal deleted inserted replaced
167:544cb5cba207 168:3314be145cb9
2241 ls->line = cf->conf_file->line; 2241 ls->line = cf->conf_file->line;
2242 ls->conf.backlog = -1; 2242 ls->conf.backlog = -1;
2243 ls->conf.rcvbuf = -1; 2243 ls->conf.rcvbuf = -1;
2244 ls->conf.sndbuf = -1; 2244 ls->conf.sndbuf = -1;
2245 2245
2246 if (inet_upstream.host.len == 1 && inet_upstream.host.data[0] == '*') {
2247 inet_upstream.host.len = 0;
2248 }
2249
2246 if (inet_upstream.host.len) { 2250 if (inet_upstream.host.len) {
2247 inet_upstream.host.data[inet_upstream.host.len] = '\0'; 2251 inet_upstream.host.data[inet_upstream.host.len] = '\0';
2248 2252
2249 ls->addr = inet_addr((const char *) inet_upstream.host.data); 2253 ls->addr = inet_addr((const char *) inet_upstream.host.data);
2250 2254