Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: проблема с POST
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 --- 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;
}
|