comparison src/imap/ngx_imap_auth_http_module.c @ 108:cf3d6edb3ad6 NGINX_0_3_1

nginx 0.3.1 *) Bugfix: the segmentation fault occurred when the signal queue overflowed if the "rtsig" method was used; bug appeared in 0.2.0. *) Change: correct handling of the "\\", "\"", "\'", and "\$" pairs in SSI.
author Igor Sysoev <http://sysoev.ru>
date Mon, 10 Oct 2005 00:00:00 +0400
parents 146eff53ab60
children e38f51cd0905
comparison
equal deleted inserted replaced
107:495d867e35e8 108:cf3d6edb3ad6
1120 1120
1121 ahcf->host_header = inet_upstream.host_header; 1121 ahcf->host_header = inet_upstream.host_header;
1122 ahcf->uri = inet_upstream.uri; 1122 ahcf->uri = inet_upstream.uri;
1123 } 1123 }
1124 1124
1125 if (ahcf->uri.len) { 1125 if (ahcf->uri.len == 0) {
1126 ahcf->uri.len = sizeof("/") - 1; 1126 ahcf->uri.len = sizeof("/") - 1;
1127 ahcf->uri.data = (u_char *) "/"; 1127 ahcf->uri.data = (u_char *) "/";
1128 } 1128 }
1129 1129
1130 return NGX_CONF_OK; 1130 return NGX_CONF_OK;