]> git.kaiwu.me - nginx.git/commitdiff
ngx_http_find_virtual_server() should return NGX_DECLINED if virtual server not
authorValentin Bartenev <vbart@nginx.com>
Mon, 30 Jul 2012 11:42:03 +0000 (11:42 +0000)
committerValentin Bartenev <vbart@nginx.com>
Mon, 30 Jul 2012 11:42:03 +0000 (11:42 +0000)
found.

src/http/ngx_http_request.c

index 60d7b92495a60259c7bcfe4afd72b26c14d05924..cb970c5c20286e3a555a2f20824cb3d704dda192 100644 (file)
@@ -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: