Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 3516:dd1570b6f237
ngx_str_set() and ngx_str_null()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 14 May 2010 09:56:37 +0000 |
parents | 76d252724db5 |
children | a4ee4a075ac5 |
comparison
equal
deleted
inserted
replaced
3515:76d252724db5 | 3516:dd1570b6f237 |
---|---|
1798 } | 1798 } |
1799 } | 1799 } |
1800 } | 1800 } |
1801 | 1801 |
1802 uri = &u->headers_in.x_accel_redirect->value; | 1802 uri = &u->headers_in.x_accel_redirect->value; |
1803 args.len = 0; | 1803 ngx_str_null(&args); |
1804 args.data = NULL; | |
1805 flags = NGX_HTTP_LOG_UNSAFE; | 1804 flags = NGX_HTTP_LOG_UNSAFE; |
1806 | 1805 |
1807 if (ngx_http_parse_unsafe_uri(r, uri, &args, &flags) != NGX_OK) { | 1806 if (ngx_http_parse_unsafe_uri(r, uri, &args, &flags) != NGX_OK) { |
1808 ngx_http_finalize_request(r, NGX_HTTP_NOT_FOUND); | 1807 ngx_http_finalize_request(r, NGX_HTTP_NOT_FOUND); |
1809 return NGX_DONE; | 1808 return NGX_DONE; |