After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 610386 - [tcpserversrc] Doesn't send EOS when socket is closed
[tcpserversrc] Doesn't send EOS when socket is closed
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.27
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-02-18 18:33 UTC by David Schleef
Modified: 2010-02-18 19:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (321 bytes, application/octet-stream)
2010-02-18 18:33 UTC, David Schleef
Details

Description David Schleef 2010-02-18 18:33:30 UTC
Created attachment 154158 [details]
patch

gst-launch tcpserversrc ! fakesink

Separately, connect to socket, send some data, close socket.  Above pipeline does not go to EOS.
Comment 1 Tim-Philipp Müller 2010-02-18 19:06:52 UTC
Guess you should push that. Can't think of a reason why it would make sense to shut down the thread silently, so it's probably an oversight.
Comment 2 David Schleef 2010-02-18 19:46:21 UTC
commit 8cf4f488929a61912f4f73807929c22f49b27b5f
Author: David Schleef <ds@schleef.org>
Date:   Thu Feb 18 11:42:55 2010 -0800

    tcp(client/server)src: Fix handling of closed sockets
    
    The peer closing the socket should cause an EOS, instead of
    silently doing nothing.  This changes the behavior to be
    more like fdsrc.  Fixes: #610386