diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-12-07 14:51:31 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-12-07 14:51:31 +0000 |
commit | cdc463042b9406e4703d21202bc363e86321bb5d (patch) | |
tree | 1f6d050377dafbf42bb3d7c8c7e15e86939500ff /src/http/ngx_http_request.h | |
parent | c20f0c28ff5478dcafd2ce2e5056da3757eb62ff (diff) | |
download | nginx-cdc463042b9406e4703d21202bc363e86321bb5d.tar.gz nginx-cdc463042b9406e4703d21202bc363e86321bb5d.zip |
nginx-0.3.15-RELEASE importrelease-0.3.15
*) Feature: the new 444 code of the "return" directive to close
connection.
*) Feature: the "so_keepalive" directive in IMAP/POP3 proxy.
*) Bugfix: if there are unclosed connection nginx now calls abort()
only on gracefull quit and active "debug_points" directive.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 7b0e7f0da..9e6fd15e0 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -66,7 +66,10 @@ /* Our own HTTP codes */ -#define NGX_HTTP_NGX_CODES NGX_HTTP_TO_HTTPS +/* The special code to close connection without any response */ +#define NGX_HTTP_CLOSE 444 + +#define NGX_HTTP_OWN_CODES NGX_HTTP_TO_HTTPS /* * We use the special code for the plain HTTP requests that are sent to |