проблема с POST
Igor Sysoev
is at rambler-co.ru
Wed Jan 19 17:41:19 MSK 2005
On Wed, 19 Jan 2005, RaPaMaN wrote:
> "POST /check.php?sey=fsdf89435hjkfkdfalsdfas89sagfmndsfbskfew HTTP/1.1"
> 2005/01/19 08:29:09 [debug] 31572#0: *9 http header: "Content-Length: 0"
Это ошибка. Патч исправляет её.
Игорь Сысоев
http://sysoev.ru
-------------- next part --------------
--- src/http/ngx_http_request.c Mon Jan 17 21:53:23 2005
+++ src/http/ngx_http_request.c Wed Jan 19 17:37:05 2005
@@ -1099,7 +1099,7 @@
}
}
- if (r->method == NGX_HTTP_POST && r->headers_in.content_length_n <= 0) {
+ if (r->method == NGX_HTTP_POST && r->headers_in.content_length_n < 0) {
return NGX_HTTP_PARSE_POST_WO_CL_HEADER;
}
More information about the nginx-ru
mailing list