server: use SO_LINGER
authorRobert Krakora <rob.krakora at messagenetsystems.com>
Mon, 16 Aug 2010 10:32:28 +0000 (12:32 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 16 Aug 2010 10:45:24 +0000 (12:45 +0200)
commit8f6fd320654f5390d72027ac289921f1f26e40b4
tree26b1ed73018237dd64cf20b05565a1f3a6b4a3b2
parentf2a2577f13cbba5b3089e55d60fefa53a9acd7cd
server: use SO_LINGER

SO_LINGER on the socket will make sure that any pending data on the socket is
flushed ASAP and that the socket connection is reset. This makes sure that the
socket can be reused immediately.

Fixes 622757
gst/rtsp-server/rtsp-server.c