comparison src/core/ngx_unix_domain.c @ 104:146eff53ab60 NGINX_0_2_6

nginx 0.2.6 *) Change: while using load-balancing the time before the failed backend retry was decreased from 60 to 10 seconds. *) Change: the "proxy_pass_unparsed_uri" was canceled, the original URI now passed, if the URI part is omitted in "proxy_pass" directive. *) Feature: the "error_page" directive supports redirects and allows more flexible to change an error code. *) Change: the charset in the "Content-Type" header line now is ignored in proxied subrequests. *) Bugfix: if the URI was changed in the "if" block and request did not found new configuration, then the ngx_http_rewrite_module rules ran again. *) Bugfix: if the "set" directive set the ngx_http_geo_module variable in some configuration part, the this variable was not available in other configuration parts and the "using uninitialized variable" error was occurred; bug appeared in 0.2.2.
author Igor Sysoev <http://sysoev.ru>
date Wed, 05 Oct 2005 00:00:00 +0400
parents 818201e5a553
children
comparison
equal deleted inserted replaced
103:acdd83ee07cb 104:146eff53ab60
31 u->uri.len = u->url.len - 5 - len - 1; 31 u->uri.len = u->url.len - 5 - len - 1;
32 u->uri.data = u->url.data + 5 + len + 1; 32 u->uri.data = u->url.data + 5 + len + 1;
33 33
34 break; 34 break;
35 } 35 }
36 }
37
38 if (u->uri.len == 0) {
39 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
40 "the unix domain upstream \"%V\" has no URI",
41 &u->name);
42 return NULL;
43 } 36 }
44 } 37 }
45 38
46 if (len == 0) { 39 if (len == 0) {
47 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, 40 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,