aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-07-30 06:20:06 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-07-30 06:20:06 +0000
commit6652cc596221b455ebe50cf77d5cc3a4116d5fa7 (patch)
treee2a873109464f5e8081aee0ec0da66c026950ba8 /src/http/ngx_http_request.c
parentc9468026e769cc38375030cdd33d540bdc8633d5 (diff)
downloadnginx-6652cc596221b455ebe50cf77d5cc3a4116d5fa7.tar.gz
nginx-6652cc596221b455ebe50cf77d5cc3a4116d5fa7.zip
Accept-Encoding refactoring: remove ancient MSIE 4.x test for gzip
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 2cef4fa5b..167bc715a 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -1439,8 +1439,6 @@ ngx_http_process_user_agent(ngx_http_request_t *r, ngx_table_elt_t *h,
switch (msie[5]) {
case '4':
- r->headers_in.msie4 = 1;
- /* fall through */
case '5':
r->headers_in.msie6 = 1;
break;
@@ -1463,7 +1461,6 @@ ngx_http_process_user_agent(ngx_http_request_t *r, ngx_table_elt_t *h,
if (ngx_strstrn(user_agent, "Opera", 5 - 1)) {
r->headers_in.opera = 1;
r->headers_in.msie = 0;
- r->headers_in.msie4 = 0;
r->headers_in.msie6 = 0;
}