diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2017-06-15 20:16:21 +0300 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2017-07-30 13:02:30 +0000 |
commit | 6adff20fe6afe8d17db2d8183506abd2792789bd (patch) | |
tree | fd9516f305cbbbfc4155896bfb55cb6d0cb31a8c /tests/auto/network/socket/qudpsocket/BLACKLIST | |
parent | 7c2850cd8f1029b74d960fad5754320b61176f46 (diff) |
Fix bytesAvailable() on UDP under Windows
When ::WSAIoctl() reports 1 byte available for reading, we are trying
to peek an incoming datagram to ensure that the data is actually
delivered. But, according to MSDN docs, we are not allowed to pass NULL
as 'lpNumberOfBytesRecvd' parameter to ::WSARecvFrom() call, if
'lpOverlapped' parameter is also NULL.
The case with an empty datagram is fixed accordingly.
Change-Id: Id13038245332d3fb4bc18038d44a7cfd7ce04775
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/network/socket/qudpsocket/BLACKLIST')
-rw-r--r-- | tests/auto/network/socket/qudpsocket/BLACKLIST | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/network/socket/qudpsocket/BLACKLIST b/tests/auto/network/socket/qudpsocket/BLACKLIST index cf25c96fd8..5adb05d3f2 100644 --- a/tests/auto/network/socket/qudpsocket/BLACKLIST +++ b/tests/auto/network/socket/qudpsocket/BLACKLIST @@ -6,7 +6,6 @@ osx windows osx [asyncReadDatagram] -windows osx [multicastLeaveAfterClose] osx |