server: use 5 second linger period in SO_LINGER
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 19 Aug 2010 16:52:47 +0000 (18:52 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 19 Aug 2010 16:52:47 +0000 (18:52 +0200)
commit2607ff079da6f01831cd809f83aaabab1a89a428
treef6ae6077c1ce2575f36e779222ef956b5876200b
parent8f6fd320654f5390d72027ac289921f1f26e40b4
server: use 5 second linger period in SO_LINGER

Wait 5 seconds before clearing the send buffers and reseting the connection with
the client when we do a close. This should be enough time to get the message to
the client.

See #622757
gst/rtsp-server/rtsp-server.c