Author: Raymond Wagner <rwagner at mythtv.org>
Change Date: 2012-03-07T12:03:38-08:00
Push Date: 2012/03/07 12:09:27 -0800
Repository: mythtv
Branch: master
New Revision: 293175ad3fdc6ec77255f3eebe7fc762cf36d5c1
Changeset: https://github.com/MythTV/mythtv/commit/293175ad3
Log:
Use a dedicated, unbound QUdpSocket for writeDatagram in ServerPool.
This potentially resolves an issue in MythRAOPConnection where resend
requests are not being communicated properly to clients, resulting in
poor behavior when under heavy load. The previous code would simply
pull one of the available bound UDP sockets to send the datagram on.
While UDP is technically connectionless, and a bound socket should
behave no differently from an unbound one, the Qt docs say to use
write() rather than writeDatagram() when using bound sockets, suggesting
strange behavior as part of the QUdpSocket wrapper.
Bumps API.
Modified:
mythtv/libs/libmythbase/mythversion.h
mythtv/libs/libmythbase/serverpool.cpp
mythtv/libs/libmythbase/serverpool.h