[Qt-interest] ssl server kaput

Yusuf X ys1382 at gmail.com
Mon Apr 13 22:12:40 CEST 2009


>> The documentation for QSslSocket
>> at http://doc.trolltech.com/4.5/qsslsocket.html#details describes how to
>> develop an SSL server. But I find the server abruptly closes the connection
>> when I call serverSocket->>startServerEncryption().
>> According to Qt's "Task Tracker", this is a known issue, but there are no
>> plans to fix it:
>> http://www.qtsoftware.com/developer/task-tracker/index_html?method=entry&id=225038
(snip)
>
>But according to task tracker that task was closed as "not a bug".
>
>--
>Regards, Krasu.

It indeed says "not a bug". I suppose that could mean I'm doing
something wrong, but when I use the code in the documentation (there
is unfortunately no demo app), using the attached source, I see:

        server: listening
        client: connecting
        client: waiting for encrypted
        server: incoming connection
        server: start encryption
        server: socket mode changed to 2 (QSslSocket::SslServerMode)
        client: error "The remote host closed the connection"

Any pointers would be greatly appreciated.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sp2p.zip
Type: application/zip
Size: 18042 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090413/2d031667/attachment.zip 


More information about the Qt-interest-old mailing list