From: Valentin Bartenev Date: Mon, 30 Jul 2012 11:42:03 +0000 (+0000) Subject: ngx_http_find_virtual_server() should return NGX_DECLINED if virtual server not X-Git-Tag: release-1.3.4~2 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=9c8f3d86b4c4c1bb04057e57f798e4244cefcbcf;p=nginx.git ngx_http_find_virtual_server() should return NGX_DECLINED if virtual server not found. --- diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 60d7b9249..cb970c5c2 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -1831,7 +1831,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: