summaryrefslogtreecommitdiffstats
path: root/header.LGPL3-COMM
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2019-06-24 18:55:36 +0200
committerMårten Nordheim <marten.nordheim@qt.io>2019-07-02 16:05:15 +0200
commit1eeab2d27f61485cb53364d40339a8d832a076e9 (patch)
tree666485a0628356e9d0fefac2caf88f9730ff7005 /header.LGPL3-COMM
parent5e0a45e932424c5ed661ae518ca21d2ab627db2d (diff)
QSocks5SocketEngine: account for in-transit signal when waiting for read
When calling waitFor{ReadyRead,Disconnected} it will wait for data but if the data is already received and the read notification has been queued (and there's no more data coming in) it will return false. By checking if a read notification has been queued and then handling this we can easily take care of this scenario. Fixes some flaky tests which missed the read data in waitForDisconnect and similar. Fixes: QTBUG-38385 Change-Id: Ic05d59883c1175783e56ff1822b6636c35aec874 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'header.LGPL3-COMM')
0 files changed, 0 insertions, 0 deletions