aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2012-07-30 11:42:03 +0000
committerValentin Bartenev <vbart@nginx.com>2012-07-30 11:42:03 +0000
commit9c8f3d86b4c4c1bb04057e57f798e4244cefcbcf (patch)
treea7a80236a0e06d8473c77af41ebca9ef6c6e0be2 /src/http/ngx_http_request.c
parent21be49ae59329c0f7a2196a9a9619a3ba0498c0c (diff)
downloadnginx-9c8f3d86b4c4c1bb04057e57f798e4244cefcbcf.tar.gz
nginx-9c8f3d86b4c4c1bb04057e57f798e4244cefcbcf.zip
ngx_http_find_virtual_server() 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.c2
1 files changed, 1 insertions, 1 deletions
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: