gst/tcp/gstmultifdsink.c: Fix wrong GList iteration that could crash the server when...
authorWim Taymans <wim.taymans@gmail.com>
Tue, 29 Jun 2004 10:28:29 +0000 (10:28 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 29 Jun 2004 10:28:29 +0000 (10:28 +0000)
commit67abbb61aea9d7c3e0c67f08f57e337e43ae4848
treea51a200cf19e60aaf8189eceaf2cd302f3b5c983
parent56616da64100e776816c0291fd687db6842a5997
gst/tcp/gstmultifdsink.c: Fix wrong GList iteration that could crash the server when more then 2 clients disconnect a...

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_recover_policy_get_type),
(gst_multifdsink_class_init), (gst_multifdsink_add),
(gst_multifdsink_remove), (gst_multifdsink_clear),
(gst_multifdsink_client_remove),
(gst_multifdsink_handle_client_read),
(gst_multifdsink_client_queue_data),
(gst_multifdsink_client_queue_caps),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_queue_buffer),
(gst_multifdsink_handle_clients), (gst_multifdsink_thread),
(gst_multifdsink_init_send), (gst_multifdsink_close):
Fix wrong GList iteration that could crash the server when
more then 2 clients disconnect at the same time. Read all the
pending commands in one batch to recover from command storms under
very heavy load.
ChangeLog