[Bug 731566] tcpserversrc: close the server socket after accepting a connection
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Jun 13 02:44:15 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=731566
GStreamer | gst-plugins-base | git
--- Comment #2 from Michael Olbrich <m.olbrich at pengutronix.de> 2014-06-13 09:44:10 UTC ---
tcpserversrc has one server_socket and one client_socket.
- in gst_tcp_server_src_start the server_socket is initialized
- in gst_tcp_server_src_create the client_socket is created if it does not
exist yet.
- in gst_tcp_server_src_stop both client and server socket are closed.
So for each server_socket accept is only ever called once. So keeping the
socket open just confuses clients.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list