[mythtv-commits] mythtv/master commit: 293175ad3 by Raymond Wagner (wagnerrp)
noreply at mythtv.org
Wed Mar 7 20:09:41 UTC 2012
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
New Revision: 293175ad3fdc6ec77255f3eebe7fc762cf36d5c1
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.
More information about the mythtv-commits