summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-12-23 15:48:40 -0200
committerThiago Macieira <thiago.macieira@intel.com>2014-12-24 14:40:21 +0100
commita0cec542207d42d95b2e6fb836f47823f9bd4625 (patch)
treedbc73ceb717a98af017d798615d0186847b9dbb1 /tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp
parent8815a75ef0adbdce0f1ff311222302286c2033aa (diff)
Autotest: Disable multicast testing with proxies
It doesn't make sense because there is no command to ask the proxy server to join a multicast group. At best, we could write a datagram via proxy without joining, but we definitely can't receive. Change-Id: Icc6b54572a053fb7821dfca1f4111f2046ff8686 Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp')
-rw-r--r--tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp b/tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp
index eda24abcd9..b2338d2ce5 100644
--- a/tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp
+++ b/tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp
@@ -1259,16 +1259,7 @@ void tst_QUdpSocket::multicast()
QSKIP("system doesn't support ipv6!");
if (setProxy) {
// UDP multicast does not work with proxies
- if (
-#ifndef Q_OS_WIN
- //windows native socket engine binds 0.0.0.0 instead of the requested multicast address
- (bindAddress.protocol() == QAbstractSocket::IPv4Protocol && (bindAddress.toIPv4Address() & 0xffff0000) == 0xefff0000) ||
-#endif
- bindAddress.protocol() == QAbstractSocket::IPv6Protocol) {
- // proxy cannot bind to IPv6 or multicast addresses
- bindResult = false;
- }
- joinResult = false;
+ return;
}
QUdpSocket receiver;