Mercurial > hg > nginx-quic
comparison src/http/ngx_http_request.c @ 3249:1966ba1d76fd stable-0.7
merge r3055, r3136:
gzip related fixes:
*) do not disable gzip for MSIE 6.0 SV1 in "gzip_disable msie6"
*) nginx always sent "Vary: Accept-Encoding",
if both gzip_static and gzip_vary were on
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 26 Oct 2009 17:34:43 +0000 |
parents | 61962127b166 |
children | 616ff375a68f |
comparison
equal
deleted
inserted
replaced
3248:8c76116820f3 | 3249:1966ba1d76fd |
---|---|
1376 switch (msie[5]) { | 1376 switch (msie[5]) { |
1377 case '4': | 1377 case '4': |
1378 r->headers_in.msie4 = 1; | 1378 r->headers_in.msie4 = 1; |
1379 /* fall through */ | 1379 /* fall through */ |
1380 case '5': | 1380 case '5': |
1381 r->headers_in.msie6 = 1; | |
1382 break; | |
1381 case '6': | 1383 case '6': |
1382 r->headers_in.msie6 = 1; | 1384 if (ngx_strstrn(msie + 8, "SV1", 3 - 1) == NULL) { |
1385 r->headers_in.msie6 = 1; | |
1386 } | |
1387 break; | |
1383 } | 1388 } |
1384 } | 1389 } |
1385 | 1390 |
1386 #if 0 | 1391 #if 0 |
1387 /* MSIE ignores the SSL "close notify" alert */ | 1392 /* MSIE ignores the SSL "close notify" alert */ |