You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2014/02/27 18:12:04 UTC

[Bug 56196] New: inflate_out_filter fails to inflate

https://issues.apache.org/bugzilla/show_bug.cgi?id=56196

            Bug ID: 56196
           Summary: inflate_out_filter fails to inflate
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_deflate
          Assignee: bugs@httpd.apache.org
          Reporter: christoph.fausak@glueckkanja.com

inflate_out_filter fails to inflate some webpages.

error log shows the following entries:

AH01402: Zlib error 1 flushing inflate buffer ((null))
AH01401: Zlib: Validation bytes not present

-- 
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


[Bug 56196] inflate_out_filter fails to inflate

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56196

--- Comment #3 from Yann Ylavic <yl...@gmail.com> ---
Thanks for patch.
inflate() can indeed return Z_STREAM_END when called with Z_SYNC_FLUSH, which
is not the case for deflate().

-- 
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


[Bug 56196] inflate_out_filter fails to inflate

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56196

--- Comment #4 from Yann Ylavic <yl...@gmail.com> ---
Commited a slightly modified version in r1572896 (with concern on recent
updates).

-- 
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


[Bug 56196] inflate_out_filter fails to inflate

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56196

Christophe JAILLET <ch...@wanadoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Christophe JAILLET <ch...@wanadoo.fr> ---
Fixed and released in 2.4.10

-- 
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


[Bug 56196] inflate_out_filter fails to inflate

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56196

--- Comment #1 from Christoph Fausak <ch...@glueckkanja.com> ---
Created attachment 31353
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31353&action=edit
patch

-- 
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


[Bug 56196] inflate_out_filter fails to inflate

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56196

Christoph Fausak <ch...@glueckkanja.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable

--- Comment #2 from Christoph Fausak <ch...@glueckkanja.com> ---
The error happens if inflate_out_filter handles flush buckets.
In some cases flush_libz_buffer returns Z_STREAM_END, which is not an error
condition.

The patch correctly handles this case.

-- 
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