summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorSven Erdem <sven.erdem@kdab.com>2018-10-09 18:32:55 +0200
committerLiang Qi <liang.qi@qt.io>2018-11-11 22:08:54 +0000
commit6f251c567c8b388d6594575c365c0e9d48bb6541 (patch)
tree5e45663ffbcde2e204772cb0c5f78376d827fc42 /util
parentf018e315fd654dcc0a22209e5a3506b4c8838e1c (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 'util')
0 files changed, 0 insertions, 0 deletions