[Qt-interest] QSslSocket::sslErrors fails to drop connection

Stephen Collyer scollyer at netspinner.co.uk
Mon Jul 20 16:59:23 CEST 2009


This is with Qt 4.5.0, on Opensuse 11.1.

2009/7/20 Stephen Collyer <scollyer at netspinner.co.uk>

> The docs for QSslSocket::sslErrors say:
>
> QSslSocket emits this signal after the SSL handshake to indicate that one
> or more errors have occurred while establishing the identity of the peer.
> The errors are usually an indication that QSslSocket is unable to securely
> identify the peer. Unless any action is taken, the connection will be
> dropped after this signal has been emitted.
>
> I have some code where QSslSocket::sslErrors() is emitted, and where I do
> not call QSslSocket::ignoreSslErrors(), yet the connection is not dropped,
> and the socket continues to emit the encrypted() signal.
>
> Does this sound like a bug, or is the documentation wrong, and I'm expected
> to call close() in the slot connected to sslErrors()  ?
>
> --
> Stephen Collyer
>



-- 
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090720/8be5a843/attachment.html 


More information about the Qt-interest-old mailing list