mirror of https://github.com/FFmpeg/FFmpeg.git
Currently if you use the multiple_requests=1 option and try to receive a chunked-encoded response, http_buf_read() will hang forever. After this patch, EOF is emulated once a 0-byte final chunk is received by setting a new flag. This flag is reset in ff_http_do_new_request(), which is used to make additional requests on the open socket. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Aman Gupta <aman@tmm1.net>pull/272/head
parent
58cf31cee7
commit
91a565e20f
1 changed files with 11 additions and 1 deletions
Loading…
Reference in new issue