kdelibs/kio/http

David Faure david@mandrakesoft.com
Thu, 19 Oct 2000 00:07:30 +0000


On Wednesday 18 October 2000 22:53, Alex Zepeda wrote :
>On Tue, Oct 17, 2000 at 01:43:43PM +0000, CVS by faure wrote:
>
>> Ignore "Content-Encoding: 8bit" to fix crash on
>> http://linac.ikp.physik.tu-darmstadt.de
>> reported by Lars.  HTTP is really a strange protocol.
>> How did I ever come to start putting my hands in this file ? :)
>
>Perhaps they should upgrade/fix their server:
>
>Server: CERN/2.16beta
>
>*sigh*

Yup :-)

>Which of course brings me to my question... how/why does this fix
>anything?
>
>>From the source:
>
>  } else {
>    kdWarning(7103) << "Unknown encoding encountered.  Please write code=
=2E Pid  =3D " << getpid() << " Encoding =3D \"" << encoding << "\"" << e=
ndl;
>  }
>
>This *seems* fine... but if it triggers a crash, perhaps something else
>needs to be fixed?

There was an abort() after this message !!!!

Removing it indeed fixed the crash.

--=20
David FAURE, david@mandrakesoft.com, faure@kde.org
http://www.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2