/[Apache-SVN]
ViewVC logotype

Revision 1804008


Jump to revision: Previous Next
Author: kotkov
Date: Thu Aug 3 15:06:09 2017 UTC (6 years, 9 months ago)
Changed paths: 2
Log Message:
Teach the dechunk bucket to return a proper error in presence of invalid
(unparseable) chunk lengths, instead of returning an APR_EOF.

* buckets/dechunk_buckets.c
  (wait_for_chunk): Check if we were actually able to parse the chunk
   size with apr_strtoi64().  If not, bail out.

* test/test_buckets.c
  (test_response_body_chunked_invalid_len): New test.
  (test_buckets): Add new test.


Changed paths

Path Details
Directoryserf/trunk/buckets/dechunk_buckets.c modified , text changed
Directoryserf/trunk/test/test_buckets.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26