Mercurial > hg > nginx-mail
comparison src/http/modules/ngx_http_proxy_module.c @ 310:95d92ec39071 NGINX_0_5_25
nginx 0.5.25
*) Bugfix: nginx could not be built with the
--without-http_rewrite_module parameter; bug appeared in 0.5.24.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 11 Jun 2007 00:00:00 +0400 |
parents | 30862655219e |
children | fc223117327f |
comparison
equal
deleted
inserted
replaced
309:638a3e67d37d | 310:95d92ec39071 |
---|---|
2120 static char * | 2120 static char * |
2121 ngx_http_proxy_pass(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) | 2121 ngx_http_proxy_pass(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) |
2122 { | 2122 { |
2123 ngx_http_proxy_loc_conf_t *plcf = conf; | 2123 ngx_http_proxy_loc_conf_t *plcf = conf; |
2124 | 2124 |
2125 u_char *p; | 2125 u_char *p; |
2126 size_t add; | 2126 size_t add; |
2127 u_short port; | 2127 u_short port; |
2128 ngx_str_t *value, *url; | 2128 ngx_str_t *value, *url; |
2129 ngx_url_t u; | 2129 ngx_url_t u; |
2130 ngx_http_core_loc_conf_t *clcf; | 2130 ngx_http_core_loc_conf_t *clcf; |
2131 #if (NGX_HTTP_SSL) | 2131 #if (NGX_HTTP_SSL) |
2132 ngx_pool_cleanup_t *cln; | 2132 ngx_pool_cleanup_t *cln; |
2133 #endif | 2133 #endif |
2134 | 2134 |
2135 if (plcf->upstream.schema.len) { | 2135 if (plcf->upstream.schema.len) { |
2136 return "is duplicate"; | 2136 return "is duplicate"; |
2137 } | 2137 } |