-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127501/
-----------------------------------------------------------

Review request for KDE Frameworks.


Repository: kio


Description
-------

Qt sockets returns ConnectedState even when error is set to 
RemoteHostClosedError after a write operation.

So make ::isConnected also check for RemoteHostClosedError.

This has the consequence that we have to create/delete the socket since Qt 
sockets have no way to reset their error state so if we want to reuse the slave 
to connect again it will never work with the same socket since it will always 
say RemoteHostClosedError.

I need this for https://git.reviewboard.kde.org/r/127502/


Diffs
-----

  src/core/tcpslavebase.cpp b9be69d 

Diff: https://git.reviewboard.kde.org/r/127501/diff/


Testing
-------

Seesms to work fine and the pop3 bugfix i have also works fine.


Thanks,

Albert Astals Cid

_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to