Broken KIO connections

Harri Porten porten at froglogic.com
Wed Apr 18 15:44:59 BST 2007


On Wed, 18 Apr 2007, Thiago Macieira wrote:

>>> If you still get similar errors, get me a backtrace from a breakpoint on
>>> the qDebug() message.
>>
>> Now I'm getting 'Could not connect to host', with HTTP.

Completely broken here with that change, too.

> Put a breakpoint in KIO::TCPSlaveBase::connectToHost right after the call
> to KSocketFactory::synchronousConnectToHost. The returned value should be
> a valid QTcpSocket, in UnconnectedState. Print its errorString() so that
> we know why the connection failed.
>
> Also, make sure that the hostname and port number passed to
> synchronousConnectToHost are valid.
>
> [Alternatively, modify KSocketFactory to print a debugging message in case
> of failed connections.]

Will try this tonight or tomorrow, too.

Harri.




More information about the kde-core-devel mailing list