diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-03-22 16:11:23 +0000 |
---|---|---|
committer | Jonathan Kolb <jon@b0g.us> | 2005-03-22 16:11:23 +0000 |
commit | 766b94b670a551c0a881dad06f7bc404c51607ee (patch) | |
tree | 30ffd96d8209d6af8990ab701a1e4a62d7f62fee /src/http/ngx_http_request.h | |
parent | c70429eafad3bdd2172cc50f1b0507668ba0dfcc (diff) | |
download | nginx-766b94b670a551c0a881dad06f7bc404c51607ee.tar.gz |
Changes with nginx 0.1.26 22 Mar 2005v0.1.26
*) Change: the invalid client header lines are now ignored and logged
at the info level.
*) Change: the host name is also logged in error log.
*) Feature: the ngx_http_auth_basic_module module and the auth_basic
and auth_basic_user_file directives.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 413af2fab..a1e9ae554 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -55,6 +55,7 @@ #define NGX_HTTP_NOT_MODIFIED 304 #define NGX_HTTP_BAD_REQUEST 400 +#define NGX_HTTP_UNAUTHORIZED 401 #define NGX_HTTP_FORBIDDEN 403 #define NGX_HTTP_NOT_FOUND 404 #define NGX_HTTP_NOT_ALLOWED 405 @@ -157,6 +158,9 @@ typedef struct { ngx_table_elt_t *accept_language; #endif + ngx_str_t user; + ngx_str_t passwd; + ngx_array_t cookies; size_t host_name_len; @@ -194,6 +198,7 @@ typedef struct { ngx_table_elt_t *last_modified; ngx_table_elt_t *content_range; ngx_table_elt_t *accept_ranges; + ngx_table_elt_t *www_authenticate; ngx_table_elt_t *expires; ngx_table_elt_t *cache_control; ngx_table_elt_t *etag; @@ -336,6 +341,8 @@ struct ngx_http_request_s { unsigned uri_changed:1; unsigned uri_changes:4; + unsigned invalid_header:1; + unsigned low_case_exten:1; unsigned header_timeout_set:1; |