mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue