Broken KIO connections
Dave Feustel
dfeustel at mindspring.com
Sat Apr 14 16:43:43 BST 2007
I have had for months problems with kio. So much so that I have
written a routine to delete all the kio-related processes.
I invoke that routine whenever I get error messages from
Konqueror trying to render a webpage. Then I reload the web
page and all the errors are gone. kio is a real PITA.
-----Original Message-----
>From: Harri Porten <porten at kde.org>
>Sent: Apr 14, 2007 10:24 AM
>To: kde-core-devel at kde.org
>Subject: Broken KIO connections
>
>Hi!
>
>Am I the only one suffering from KIO networking problems that go along
>with zillions
>
> QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
>
>warnings? As at least the HTTP slave is affected I can hardly use KHTML
>right now.
>
>I attached gdb to the HTTP slave and found that the following code in
>HTTPProtocol::httpOpen()
>
> if ( !isConnectionValid() )
> {
> if (!httpOpenConnection())
> {
> kDebug(7113) << "Couldn't connect, oopsie!" << endl;
> return false;
> }
> }
>
>does not lead to a valid connection. Either httpOpenConnect() or
>isConnectionValid() must be broken since the move to QTcpSocket as
>isConnection() still returns false although httpOpenConnection() returned
>true.
>
>This silenced the warning for this one
>
> if (!isConnectionValid()) {
> kDebug(7113) << "Thought we are connected be we are not!" << endl;
> return false;
> }
>
>but other places/slaves seem to suffer from the same problem.
>
>Harri.
http://RepublicBroadcasting.org - Because You CAN Handle The Truth!
http://iceagenow.com - Because Global Warming Is Yet Another NWO Scam!
More information about the kde-core-devel
mailing list