[Qt-interest] QSslSocket::sslErrors fails to drop connection
Stephen Collyer
scollyer at netspinner.co.uk
Mon Jul 20 16:47:04 CEST 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090720/0305daef/attachment.html
More information about the Qt-interest-old
mailing list