aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-02-01 12:01:01 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-02-01 12:01:01 +0000
commit8164f329fe7703c3abb7e73b0c456a5b1c032b64 (patch)
tree914f34e3d220b97cc228759b66821ccccd0868ca /src/http/ngx_http_request.c
parent4e20f24b5bfd103e1471d6eceea6c1c13ea6e9ea (diff)
downloadnginx-8164f329fe7703c3abb7e73b0c456a5b1c032b64.tar.gz
nginx-8164f329fe7703c3abb7e73b0c456a5b1c032b64.zip
disable keepalive for Safari:
https://bugs.webkit.org/show_bug.cgi?id=5760
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 9ca19f556..3432b50a0 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -1450,6 +1450,9 @@ ngx_http_process_user_agent(ngx_http_request_t *r, ngx_table_elt_t *h,
} else if (ngx_strstrn(user_agent, "Chrome/", 7 - 1)) {
r->headers_in.chrome = 1;
+ } else if (ngx_strstrn(user_agent, "Safari/", 7 - 1)) {
+ r->headers_in.safari = 1;
+
} else if (ngx_strstrn(user_agent, "Konqueror", 9 - 1)) {
r->headers_in.konqueror = 1;
}