ffserver: Avoid busylooping while reading non-blocking input
Patch by Howard Chu, hyc at highlandsun dot com Originally committed as revision 23210 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
38d4a21778
commit
686d6f4022
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user