GNOME Bugzilla – Bug 632889
[multifdsink] [PATCH] Disconnect inactive clients in the select loop too
Last modified: 2011-03-10 14:11:34 UTC
Created attachment 172999 [details] [review] 0001-multifdsink-disconnect-inactive-clients-in-the-selec.patch Clients are usually disconnected in the streaming thread if their inactivity is bigger than the timeout. If no new buffers are to be rendered in the sink, these clients will never be disconnected and for that reason it should be handled in the select() loop too.
Created attachment 173003 [details] [review] 0001-multifdsink-disconnect-inactive-clients-in-the-selec.patch Add missing check for timeout, instead of removing all the clients.
Sounds like a good idea. Will merge after freeze.
just a reminder :)
commit 8c13488022051543d1d653e83e0d35b632a63646 Author: Andoni Morales Alastruey <amorales@flumotion.com> Date: Fri Oct 22 14:01:26 2010 +0200 multifdsink: disconnect inactive clients in the select loop too Clients are usually disconnected in the streaming thread if their inactivity is bigger than the timeout. If no new buffers are to be rendered in the sink, these clients will never be disconnected and for that reason it should be handled in the select() loop too.