Help solving an IMAP SSL bug
Richard Moore
richmoore44 at gmail.com
Tue Aug 20 20:42:05 BST 2013
On 19 August 2013 10:58, Daniel Vrátil <dvratil at redhat.com> wrote:
> Because it's a socket error KSslSocket will emit socketError() and IMAP
> resource will try to reconnect. The interesting part here is, that calling
> QAbstractSocket::disconnect() will emit the error again (probably it's trying
> to write something to the socket?) and so we end up in an endless loop, when
> we try to disconnect on an error, which causes an error, on which we try to
> disconnect....
You should call abort() rather than disconnect() here.
Cheers
Rich.
More information about the kde-core-devel
mailing list