[gst-devel] gst-rtsp-server needs SO_LINGER option set to reset the TCP immediately

Michael Smith msmith at xiph.org
Tue Jun 22 19:11:49 CEST 2010


On Fri, Jun 18, 2010 at 6:12 AM, Robert Krakora
<rob.krakora at messagenetsystems.com> wrote:
> Hello,
>
> 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;

Rob,

This and your other issues should get filed in bugzilla
(http://bugzilla.gnome.org is gstreamer's bug tracker), otherwise
they're likely to not get fixed.

Providing the patch as an attachment in patch format is ideal.

Mike




More information about the gstreamer-devel mailing list