httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 46146] deflate_in_filter fails to inflate if CRC/length bytes are not in available stream
Date Tue, 28 Jan 2014 16:28:01 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46146

--- Comment #6 from Christian Nols <christian.nols@mcl-technologies.com> ---
Created attachment 31259
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31259&action=edit
Patch proposal

Patch proposal tested on Apache 2.4.4

Move the CRC/Length check only after the 8 validation bytes are received.
Use the internal validation buffer for storage.

Test scenario.
I had two specific file upload that were causing the issue.
Transfer in chunked encoding and 6 bytes where in the last chunk.
The problem was systematic and is now solved.

I cannot attach the problematic files (customer data) and a custom HTTPClient
is required to do the deflate/chunking.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message