[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: kio_http regression in 3.5.8
From: Harri Porten <porten () froglogic ! com>
Date: 2007-10-16 14:52:13
Message-ID: Pine.LNX.4.64.0710161651341.2219 () pudel ! froglogic ! com
[Download RAW message or body]
Hi!
Since the update to the current 3.5 branch I am no longer able to log into
an internal page anymore. The error printed out by the PHP module is:
Warning: Cannot modify header information - headers already sent
I've identified revision 707413 changing kioslave/http/http.cc to be
responsible:
http://websvn.kde.org/branches/KDE/3.5/kdelibs/kioslave/http/http.cc?r1=707381&r2=707413
After applying the attached patch things work again. Too bad 3.5.8 has
just been released :(
Harri.
["http.diff" (TEXT/plain)]
Index: http.cc
===================================================================
--- http.cc (revision 707413)
+++ http.cc (working copy)
@@ -3412,9 +3412,11 @@
} while (!m_bEOF && (len || noHeader) && (headerSize < maxHeaderSize) && \
(gets(buffer, sizeof(buffer)-1)));
+#if 0
// Send the current response before processing starts or it
// might never get sent...
forwardHttpResponseHeader();
+#endif
// Now process the HTTP/1.1 upgrade
QStringList::Iterator opt = upgradeOffers.begin();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic