qt5base-lts/tests/auto/network
Thiago Macieira a4c837b3a1 Fix QUdpSocket's emission of readyRead()
The documentation says that QUdpSocket emits readyRead() only for one
datagram and that if you don't read it, the class will not emit again.
That should be implemented by disabling of the socket notifier once we
have the datagram already read, but was broken.

In turn, that breakage caused a live-lock of the event loop: since we
didn't disable the notifier nor read the pending datagram, the event
loop would fire every time for the same datagram.

The re-enabling of the notifier was already working.

Task-number: QTBUG-43857
Change-Id: Ic5d393bfd36e48a193fcffff13bb32ad390b5fe8
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
Reviewed-by: Richard J. Moore <rich@kde.org>
2015-01-22 04:44:10 +01:00
..
access Change bugreports.qt-project.org -> bugreports.qt.io 2014-12-18 09:46:09 +01:00
bearer Change bugreports.qt-project.org -> bugreports.qt.io 2014-12-18 09:46:09 +01:00
kernel Android: XFAIL a few tests in QDnsLookup 2015-01-12 13:09:57 +01:00
socket Fix QUdpSocket's emission of readyRead() 2015-01-22 04:44:10 +01:00
ssl Autotest: Use QFINDTESTDATA to find test data 2015-01-19 15:53:51 +01:00
network.pro Re-enable network tests on Mac OS. 2012-04-24 16:06:28 +02:00