Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-05-13 13:47:52 +0400
committerIgor Sysoev <igor@sysoev.ru>2008-05-13 13:47:52 +0400
commit7a06fbdcca41102de3b5ca0615f91c931cc600b0 (patch)
treeea830e341c9d1762263b74fce03b829ca343bd6d
parentbc5fb294af59c0da6edc23007f17cba557a04ead (diff)
small fixes
-rw-r--r--src/http/ngx_http_request.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 1dbeef384..e124e5f99 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -74,8 +74,7 @@ ngx_http_header_t ngx_http_headers_in[] = {
{ ngx_string("Host"), offsetof(ngx_http_headers_in_t, host),
ngx_http_process_unique_header_line },
- { ngx_string("Connection"), offsetof(ngx_http_headers_in_t, connection),
- ngx_http_process_connection },
+ { ngx_string("Connection"), 0, ngx_http_process_connection },
{ ngx_string("If-Modified-Since"),
offsetof(ngx_http_headers_in_t, if_modified_since),
@@ -1268,7 +1267,7 @@ ngx_http_process_user_agent(ngx_http_request_t *r, ngx_table_elt_t *h,
ua = ngx_strstrn(user_agent, "MSIE", 4 - 1);
- if (ua && ua + 8 < user_agent + r->headers_in.user_agent->value.len) {
+ if (ua && ua + 8 < user_agent + h->value.len) {
r->headers_in.msie = 1;