diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2012-08-06 17:36:30 +0000 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-08-06 17:36:30 +0000 |
commit | 6087743fe2372ad9ede026cbf32f135d3137defc (patch) | |
tree | a37fa7309e6bba8fa7f7918baa16d4ce590b6904 /src/http/ngx_http_request.c | |
parent | cfef618a6fc7dc003eb42f359931101fa9c1a79f (diff) | |
download | nginx-6087743fe2372ad9ede026cbf32f135d3137defc.tar.gz nginx-6087743fe2372ad9ede026cbf32f135d3137defc.zip |
Merge of r4771: ngx_http_find_virtual_server() fix.
The ngx_http_find_virtual_server() function should return NGX_DECLINED
if virtual server not found.
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 26420b164..c104db1c0 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -1823,7 +1823,7 @@ ngx_http_find_virtual_server(ngx_http_request_t *r, u_char *host, size_t len) #endif - return NGX_OK; + return NGX_DECLINED; found: |