--===============0687105393==
Content-Type: multipart/signed;
boundary="nextPart1400279.S1njYhFkCW";
protocol="application/pgp-signature";
micalg=pgp-sha1
Content-Transfer-Encoding: 7bit

--nextPart1400279.S1njYhFkCW
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Sunday 04 December 2005 23:46, Tommi M=C3=A4kitalo wrote:
> Am Sonntag 04 Dezember 2005 21:57 schrieb Kevin Krammer:
> > On Sunday 04 December 2005 19:24, Tommi M=C3=A4kitalo wrote:
> > > Am Sonntag 04 Dezember 2005 16:08 schrieb Kevin Krammer:
> > > > On Sunday 04 December 2005 15:34, Tommi M=C3=A4kitalo wrote:
> > > > > Hi,
> > >
> > > ...
> > >
> > > > Do you have a test URL where you send such data?
> > >
> > > I set up a server here:
> > >
> > > http://hal.circle-of-art.de:8000/hello

> >
> > I tried to debug a little so the folks at kfm-devel can save some time:
> >
> > kdelibs/kio/httpfilter/httpfilter.cc
> >
> > HTTPFilterGZip::slotInput gets called with 199 bytes which is also the
> > length specified by the HTTP header.
> >
> > zlib inflate() is called with these 199 bytes of input.
> > zstr.avail_in is 194 after the call, result code is -3, zlib error
> > message is "invalid stored block lengths"
> >
> > hth,
> > Kevin

>
> I get exactly this error, when I use inflateInit2 with -MAX_WBITS as in
> kio_http. Using just inflateInit works fine.
>
> The documentation of zlib tells about the 2nd parameter windowBits, it
> should be in the range 8..15. And MAX_WBITS is defined as 15. There is no
> mention, it can be negative.


Maybe it is a special value. I found several occurences when searching for=
=20
"inflateInit2 MAX_WBITS" on Google.

Cheers,
Kevin

=2D-=20
Kevin Krammer
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org

--nextPart1400279.S1njYhFkCW
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBDk3gBnKMhG6pzZJIRAllZAJ9PB87R/ItaveZOKoE036IQSPcDaACfRVBe
v9wqXBVWn9Hp/uJuu2Ge66I=
=fDEH
-----END PGP SIGNATURE-----

--nextPart1400279.S1njYhFkCW--

--===============0687105393==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


--===============0687105393==--