Klaus Demo nginx / ae11f08
Restricted keepalive_disable safari to OS X only. The problem doesn't affect non-Apple systems for sure, and many pretend to be Safari now. Prodded by Piotr Sikora. Maxim Dounin 10 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
14921492 } else if (ngx_strstrn(user_agent, "Chrome/", 7 - 1)) {
14931493 r->headers_in.chrome = 1;
14941494
1495 } else if (ngx_strstrn(user_agent, "Safari/", 7 - 1)) {
1495 } else if (ngx_strstrn(user_agent, "Safari/", 7 - 1)
1496 && ngx_strstrn(user_agent, "Mac OS X", 8 - 1))
1497 {
14961498 r->headers_in.safari = 1;
14971499
14981500 } else if (ngx_strstrn(user_agent, "Konqueror", 9 - 1)) {