diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2017-10-11 15:19:17 +0300 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2017-10-27 19:22:23 +0000 |
commit | e8d2e831a4054a7519c60b11d1ba9e6bec85c3bd (patch) | |
tree | ce7f716543054e28bacc5296d93adf035f548ac4 /tests/auto/corelib/io/qfile/tst_qfile.cpp | |
parent | 754b636053869d8b673a0e131ae6470a5adace3b (diff) |
QSslSocket::waitForDisconnected(): flush write buffer before waiting
Otherwise, the plain socket might be blocked indefinitely on waiting for
socket activity.
This issue is tested by tst_QSslSocket::disconnectFromHostWhenConnected()
which was unstable in CI.
Task-number: QTBUG-64016
Change-Id: I6a1a111dea4d1d1adaf55e6a90c0c5f995a270af
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'tests/auto/corelib/io/qfile/tst_qfile.cpp')
0 files changed, 0 insertions, 0 deletions