comparison src/imap/ngx_imap_core_module.c @ 619:7a16e281c01f release-0.3.31

nginx-0.3.31-RELEASE import *) 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; the bug had 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 <igor@sysoev.ru>
date Fri, 10 Mar 2006 12:51:52 +0000
parents 284cc140593b
children 5e8fb59c18c1
comparison
equal deleted inserted replaced
618:47f8a854752e 619:7a16e281c01f
440 "%s in \"%V\" of the \"listen\" directive", 440 "%s in \"%V\" of the \"listen\" directive",
441 err, &inet_upstream.url); 441 err, &inet_upstream.url);
442 return NGX_CONF_ERROR; 442 return NGX_CONF_ERROR;
443 } 443 }
444 444
445 if (inet_upstream.host.len == 1 && inet_upstream.host.data[0] == '*') {
446 inet_upstream.host.len = 0;
447 }
448
445 if (inet_upstream.host.len) { 449 if (inet_upstream.host.len) {
446 inet_upstream.host.data[inet_upstream.host.len] = '\0'; 450 inet_upstream.host.data[inet_upstream.host.len] = '\0';
447 451
448 in_addr = inet_addr((const char *) inet_upstream.host.data); 452 in_addr = inet_addr((const char *) inet_upstream.host.data);
449 453