> -----Original Message----- > From: Nick Kew [mailto:nick@xxxxxxxxxxxx] > Sent: Friday, October 12, 2007 5:54 AM > > On Thu, 11 Oct 2007, William A. Rowe, Jr. wrote: > > Nick Kew wrote: > > > On Thu, 11 Oct 2007, Steve Bardsley wrote: > > > > > >> [Here's a cleaned up resubmittal hoping it's more digestible.] > > >> > > >> Is mod_deflate.c unreliable for inflating gzipped and chunked input? > > > > > > Chunked is irrelevant: the dechunking filter runs in font of > mod_deflate. > > > It's possible there's a bug, but we don't know it. > > > > UHM... Nick, you just fixed this bug yourself 2 weeks ago :) > > Erm, that was a bug in the inflate output filter. OP here spoke > of inflating incoming POSTed data. Different filter. Also unlikely > the same bug would manifest in a pull filter. > I've attached a patch for mod_deflate.c (version 581198 in SVN). Let me know if you want a different format, but patch -p0 <mod_deflate_581198.patch should do the trick. We strongly suggest there is a problem handling the gzip footer while inflating input data. The original code does not seem to acquire the footer properly in all cases. The changes ensure the footer is properly acquired. This patch has run for over 24 hours without error. The previous version would only run from 2-5 hours before errors occurred under identical conditions (loading, data, etc). Again, the errors *always* occurred coincident with the "FIXME" section of code (line 953). Regards, Steve Bardsley _________________________________________________________________________ Disclaimer: This message is intended only for the use of the noted recipient(s) and may contain information that is privileged, proprietary and confidential. If you received this message in error, you must not, directly or indirectly, distribute, use, disclose, print, or copy any part of this message. Please notify the sender if you have received this message by mistake and erase this email and its contents from your system. Note that any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of the company. Finally, note that email transmission cannot be guaranteed to be secure or error-free. Information could be intercepted, corrupted, lost, destroyed, received late or incomplete, or infected with a virus. Therefore, the sender does not accept liability for any errors in the content of this message which arise as a result of email transmission.
Attachment:
mod_deflate_581198.patch
Description: mod_deflate_581198.patch
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx