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
This commit is contained in:
parent
a8f51d61f7
commit
8cf4f48892
@ -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:
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user