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>bb10
parent
8815a75ef0
commit
a0cec54220
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue