comparison src/mail/ngx_mail_auth_http_module.c @ 570:8246d8a2c2be NGINX_0_8_37

nginx 0.8.37 *) Feature: the ngx_http_split_clients_module. *) Feature: the "map" directive supports keys more than 255 characters. *) Bugfix: nginx ignored the "private" and "no-store" values in the "Cache-Control" backend response header line. *) Bugfix: a "stub" parameter of an "include" SSI directive was not used, if empty response has 200 status code. *) Bugfix: if a proxied or FastCGI request was internally redirected to another proxied or FastCGI location, then a segmentation fault might occur in a worker process; the bug had appeared in 0.8.33. Thanks to Yichun Zhang. *) Bugfix: IMAP connections may hang until they timed out while talking to Zimbra server. Thanks to Alan Batie.
author Igor Sysoev <http://sysoev.ru>
date Mon, 17 May 2010 00:00:00 +0400
parents daf4847b43ff
children 615b5ea36fc0
comparison
equal deleted inserted replaced
569:19b134bf21c0 570:8246d8a2c2be
1407 1407
1408 if (u.family != AF_UNIX) { 1408 if (u.family != AF_UNIX) {
1409 ahcf->host_header = u.host; 1409 ahcf->host_header = u.host;
1410 1410
1411 } else { 1411 } else {
1412 ahcf->host_header.len = sizeof("localhost") - 1; 1412 ngx_str_set(&ahcf->host_header, "localhost");
1413 ahcf->host_header.data = (u_char *) "localhost";
1414 } 1413 }
1415 1414
1416 ahcf->uri = u.uri; 1415 ahcf->uri = u.uri;
1417 1416
1418 if (ahcf->uri.len == 0) { 1417 if (ahcf->uri.len == 0) {
1419 ahcf->uri.len = sizeof("/") - 1; 1418 ngx_str_set(&ahcf->uri, "/");
1420 ahcf->uri.data = (u_char *) "/";
1421 } 1419 }
1422 1420
1423 return NGX_CONF_OK; 1421 return NGX_CONF_OK;
1424 } 1422 }
1425 1423