summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-01-20 12:30:26 -0800
committerThiago Macieira <thiago.macieira@intel.com>2015-01-22 04:44:10 +0100
commita4c837b3a1168ab07415501f141395dfffc3ed18 (patch)
treefb2b2560b1ba6a9e880f871dbb0ed195b4071ee6 /src/corelib/kernel
parent358a9ac9362917e644e4c09c8d5c85d13faf5503 (diff)
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>
Diffstat (limited to 'src/corelib/kernel')
0 files changed, 0 insertions, 0 deletions