diff options
author | Sven Erdem <sven.erdem@kdab.com> | 2018-10-09 18:32:55 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2018-11-11 22:08:54 +0000 |
commit | 6f251c567c8b388d6594575c365c0e9d48bb6541 (patch) | |
tree | 5e45663ffbcde2e204772cb0c5f78376d827fc42 /src/plugins/bearer | |
parent | f018e315fd654dcc0a22209e5a3506b4c8838e1c (diff) |
Use timeout error for TCP timeouts on unix
When a TCP connection timed out a QAbstractSocket::NetworkError was set.
To enable a more precise error handling for timeouts
QAbstractSocket::SocketTimeoutError is now set instead.
Separated ETIMEDOUT from other errors in nativeRead() and take over
responsibility for setting the error, which was previously handled by read().
Change-Id: Iccd45bdbb3d944cd160ae50c257d3256e05b1ae5
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/plugins/bearer')
0 files changed, 0 insertions, 0 deletions