Commit 8cf4f488 authored by David Schleef's avatar David Schleef
Browse files

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
parent a8f51d61
......@@ -284,7 +284,7 @@ ioctl_error:
got_eos:
{
GST_DEBUG_OBJECT (this, "Got EOS on socket stream");
return GST_FLOW_WRONG_STATE;
return GST_FLOW_UNEXPECTED;
}
read_error:
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment