[gstreamer-bugs] [Bug 622757] New: gst-rtsp-server needs the SO_LINGER option to be set to reset the TCP connection immediately for port reuse

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jun 25 11:49:28 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=622757
  GStreamer | gst-plugins | 0.10.29

           Summary: gst-rtsp-server needs the SO_LINGER option to be set
                    to reset the TCP connection immediately for port reuse
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.29
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: rob.krakora at messagenetsystems.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


I think gst-rtsp-server needs the SO_LINGER option to be set to reset
the TCP connection immediately.

 linger.l_onoff = 1;
 linger.l_linger = 0;

 if (setsockopt (server->server_sock.fd, SOL_SOCKET, SO_LINGER,
         (void *) &linger, sizeof (linger)) < 0)
   goto linger_failed;

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