[Bug 731566] tcpserversrc: close the server socket after accepting a connection

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jun 13 03:21:11 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=731566
  GStreamer | gst-plugins-base | git

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |1.3.3

--- Comment #3 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2014-06-13 10:21:09 UTC ---
I wasn't questioning the logic of what you said, but whether the element should
work as it currently works :)

However, turns out I was just confused. It's a server *source* not a sink, so
multiple clients doesn't really make sense.

Thanks for the patch, pushed:

 commit 5ebfe5b26b6e404e663945fbd61ad7ca3f1a058b
 Author: Michael Olbrich <m.olbrich at pengutronix.de>
 Date:   Thu Jun 12 12:36:26 2014 +0200

    tcpserversrc: close the server socket after accepting a connection

    g_socket_accept() is only called once for a server socket. So
    keeping the socket open ist just confusing possible clients.

    https://bugzilla.gnome.org/show_bug.cgi?id=731566

-- 
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