comparison src/http/ngx_http_request.c @ 668:9fbf3ad94cbf NGINX_1_1_18

nginx 1.1.18 *) Change: keepalive connections are no longer disabled for Safari by default. *) Feature: the $connection_requests variable. *) Feature: $tcpinfo_rtt, $tcpinfo_rttvar, $tcpinfo_snd_cwnd and $tcpinfo_rcv_space variables. *) Feature: the "worker_cpu_affinity" directive now works on FreeBSD. *) Feature: the "xslt_param" and "xslt_string_param" directives. Thanks to Samuel Behan. *) Bugfix: in configure tests. Thanks to Piotr Sikora. *) Bugfix: in the ngx_http_xslt_filter_module. *) Bugfix: nginx could not be built on Debian GNU/Hurd.
author Igor Sysoev <http://sysoev.ru>
date Wed, 28 Mar 2012 00:00:00 +0400
parents e5fa0a4a7d27
children f41d4b305d22
comparison
equal deleted inserted replaced
667:e0eabdb2bad1 668:9fbf3ad94cbf
1491 r->headers_in.gecko = 1; 1491 r->headers_in.gecko = 1;
1492 1492
1493 } else if (ngx_strstrn(user_agent, "Chrome/", 7 - 1)) { 1493 } else if (ngx_strstrn(user_agent, "Chrome/", 7 - 1)) {
1494 r->headers_in.chrome = 1; 1494 r->headers_in.chrome = 1;
1495 1495
1496 } else if (ngx_strstrn(user_agent, "Safari/", 7 - 1)) { 1496 } else if (ngx_strstrn(user_agent, "Safari/", 7 - 1)
1497 && ngx_strstrn(user_agent, "Mac OS X", 8 - 1))
1498 {
1497 r->headers_in.safari = 1; 1499 r->headers_in.safari = 1;
1498 1500
1499 } else if (ngx_strstrn(user_agent, "Konqueror", 9 - 1)) { 1501 } else if (ngx_strstrn(user_agent, "Konqueror", 9 - 1)) {
1500 r->headers_in.konqueror = 1; 1502 r->headers_in.konqueror = 1;
1501 } 1503 }