annotate contrib/README @ 4148:18f1cb12c6d7
Fix for "return 202" not discarding body.
Big POST (not fully preread) to a
location / {
return 202;
}
resulted in incorrect behaviour due to "return" code path not calling
ngx_http_discard_request_body(). The same applies to all "return" used
with 2xx/3xx codes except 201 and 204, and to all "return ... text" uses.
Fix is to add ngx_http_discard_request_body() call to ngx_http_send_response()
function where it looks appropriate. Discard body call from emtpy gif module
removed as it's now redundant.
Reported by Pyry Hakulinen, see
http://mailman.nginx.org/pipermail/nginx/2011-August/028503.html
author |
Maxim Dounin <mdounin@mdounin.ru> |
date |
Tue, 27 Sep 2011 11:13:00 +0000 |
parents |
63a820b0bc6c |
children |
1bdf906bba99 |
rev |
line source |
537
|
1
|
667
|
2 geo2nginx.pl by Andrei Nigmatulin
|
|
3
|
|
4 The perl script to convert CSV geoip database ( free download
|
|
5 at http://www.maxmind.com/app/geoip_country ) to format, suitable
|
|
6 for use by the ngx_http_geo_module.
|
|
7
|
537
|
8
|
667
|
9 unicode2nginx by Maxim Dounin
|
|
10
|
|
11 The perl script to convert unicode mappings ( available
|
|
12 at http://www.unicode.org/Public/MAPPINGS/ ) to the nginx
|
|
13 configuration file format.
|
|
14 Two generated full maps for windows-1251 and koi8-r.
|
|
15
|