aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-03-22 16:02:46 +0000
committerIgor Sysoev <igor@sysoev.ru>2005-03-22 16:02:46 +0000
commit4d656dcd0bd6309b0ec76fc444198ed6c2948a8e (patch)
tree67ce201b7d515273fa2a6a617542cece4fa16898 /src/http/ngx_http_request.h
parent3599a1b885533d929315494258fb407765243a95 (diff)
downloadnginx-4d656dcd0bd6309b0ec76fc444198ed6c2948a8e.tar.gz
nginx-4d656dcd0bd6309b0ec76fc444198ed6c2948a8e.zip
nginx-0.1.26-RELEASE importrelease-0.1.26
*) Change: the invalid client header lines are now ignored and logged at the info level. *) Change: the server 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.h7
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;