[Interest] ssl socket still encrypted after disconnect

Francesco Lamonica alienpenguin at gmail.com
Fri Sep 27 09:51:11 CEST 2013


Hi all, i am experimenting a strange behaviour with QSslsocket (Qt 4.8.1)
i create a QSslsocket and feed it with a connected socket descriptor (i
need to explicitgly choose the src ip); then i call startClientEncryption()
and all works well. Then the server crashes and a timer in my code will
fire up the connection mechanism again after doing the
disconnection/closing procedure (i tried both abort(), close() and
disconnectFromHost()) . What i am seeing is that after the syn,syn/ack,ack
handshake no SSL Client Hello is ever sent from client to server and after
debugging a while i found that the socket mode is still SslClientMode.
What i gather is that the startClientEncryption() fails because of the
wrong socket mode.

Any ideas?
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130927/4b4f5f0c/attachment.html>


More information about the Interest mailing list