summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ffserver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c
index 1bb1141..3cdcd88 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -2629,6 +2629,7 @@ static int http_receive_data(HTTPContext *c)
ff_neterrno() != FF_NETERROR(EINTR))
/* error : close connection */
goto fail;
+ return 0;
} else if (len == 0) {
/* end of connection : close it */
goto fail;
OpenPOWER on IntegriCloud