diff options
author | Shane Kearns <ext-shane.2.kearns@nokia.com> | 2012-01-30 15:52:27 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-02 12:52:18 (GMT) |
commit | 33179842341fcf7d42e74f62a600470aed6b08a1 (patch) | |
tree | 3ff45f2feb3879c98fa397973f76fbe0bcff1416 /tools | |
parent | 182acb541a7b8ac0edca842fdc867751df723f50 (diff) | |
download | Qt-33179842341fcf7d42e74f62a600470aed6b08a1.zip Qt-33179842341fcf7d42e74f62a600470aed6b08a1.tar.gz Qt-33179842341fcf7d42e74f62a600470aed6b08a1.tar.bz2 |
Prevent data loss when an ssl socket is closed by remote
SSL context was destroyed on disconnect. This makes it impossible to
decrypt buffered encrypted data. So if there is encrypted data in the
receive buffers, then don't destroy the ssl context until the socket is
destroyed.
Task-Number: QTBUG-23607
Change-Id: I16a7b4fa006647ec73049c90cdbc72686696850f
Reviewed-by: Jonas Gastal <jgastal@profusion.mobi>
Reviewed-by: Richard J. Moore <rich@kde.org>
(cherry picked from commit c5aba0ac17ae6ed8f3847bd30325acdbd1ecaa80)
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions