summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2019-07-02 14:28:58 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2019-07-11 10:46:23 +0200
commitcc32226e647854a02ecd0775787bb08b85e2a014 (patch)
tree3a50004830c421d52f8c0138254f3e1c4a66791f /doc
parent2d597c0e1a32dda3f4d2f1c941b8a0d2a4be4735 (diff)
Windows: handle errors correctly when connecting to unreachable host
The previous code handled only some error codes, in a very inefficient way, for some code paths. This change standardizes error handling using a helper function that maps winsock WSAE* codes to Qt error codes. The test for connecting to unreachable hosts or ports is now more generic, and enabled on Windows, where it passes in local tests, but dependency on network configuration still makes it fragile, so ignoring some failures without completely skipping the test. [ChangeLog][Network][Windows] Correctly emit errors when trying to reach unreachable hosts or services Change-Id: Icaca3e6fef88621d683f6d6fa3016212847de4ea Fixes: QTBUG-42567 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions