Line # Revision Author
1 20 ahitrov@rambler.ru --- src/main/http_protocol.c Fri Jun 21 13:01:56 2002
2 +++ src/main/http_protocol.c Fri Jun 21 13:03:03 2002
3 @@ -2050,6 +2050,11 @@
4
5 len_to_read = get_chunk_size(buffer);
6
7 + if (len_to_read < 0) {
8 + r->connection->keepalive = -1;
9 + return -1;
10 + }
11 +
12 if (len_to_read == 0) { /* Last chunk indicated, get footers */
13 if (r->read_body == REQUEST_CHUNKED_DECHUNK) {
14 get_mime_headers(r);