Mercurial > hg > nginx-vendor-1-0
comparison src/http/ngx_http_core_module.c @ 562:7fa8dc2315bd NGINX_0_8_33
nginx 0.8.33
*) Security: now nginx/Windows ignores trailing spaces in URI.
Thanks to Dan Crowley, Core Security Technologies.
*) Security: now nginx/Windows ignores short files names.
Thanks to Dan Crowley, Core Security Technologies.
*) Change: now keepalive connections after POST requests are not
disabled for MSIE 7.0+. Thanks to Adam Lounds.
*) Workaround: now keepalive connections are disabled for Safari.
Thanks to Joshua Sierles.
*) Bugfix: if a proxied or FastCGI request was internally redirected to
another proxied or FastCGI location, then $upstream_response_time
variable may have abnormally large value; the bug had appeared in
0.8.7.
*) Bugfix: a segmentation fault might occur in a worker process, while
discarding a request body; the bug had appeared in 0.8.11.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 01 Feb 2010 00:00:00 +0000 |
parents | 2da4537168f8 |
children | da3c99095432 |
comparison
equal
deleted
inserted
replaced
561:1763c9f30920 | 562:7fa8dc2315bd |
---|---|
781 case NGX_HTTP_CONNECTION_KEEP_ALIVE: | 781 case NGX_HTTP_CONNECTION_KEEP_ALIVE: |
782 r->keepalive = 1; | 782 r->keepalive = 1; |
783 break; | 783 break; |
784 } | 784 } |
785 | 785 |
786 if (r->keepalive && r->headers_in.msie && r->method == NGX_HTTP_POST) { | 786 if (r->keepalive) { |
787 | 787 |
788 /* | 788 if (r->headers_in.msie6) { |
789 * MSIE may wait for some time if an response for | 789 if (r->method == NGX_HTTP_POST) { |
790 * a POST request was sent over a keepalive connection | 790 /* |
791 */ | 791 * MSIE may wait for some time if an response for |
792 | 792 * a POST request was sent over a keepalive connection |
793 r->keepalive = 0; | 793 */ |
794 r->keepalive = 0; | |
795 } | |
796 | |
797 } else if (r->headers_in.safari) { | |
798 /* | |
799 * Safari may send a POST request to a closed keepalive | |
800 * connection and stalls for some time | |
801 */ | |
802 r->keepalive = 0; | |
803 } | |
794 } | 804 } |
795 | 805 |
796 if (r->headers_in.content_length_n > 0) { | 806 if (r->headers_in.content_length_n > 0) { |
797 r->lingering_close = 1; | 807 r->lingering_close = 1; |
798 | 808 |