diff options
author | Aman Gupta <aman@tmm1.net> | 2017-11-13 11:34:50 -0800 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2017-11-14 07:36:51 -0800 |
commit | 91a565e20f0c220a6bc37e58c11cea4a3590149c (patch) | |
tree | 123b9fd961169d00ad249c4cd33470a12eadbab8 /libavutil/x86/pixelutils.asm | |
parent | 58cf31cee7a456057f337b3102a03206d833d5e8 (diff) | |
download | ffmpeg-91a565e20f0c220a6bc37e58c11cea4a3590149c.tar.gz |
avformat/http: fix chunked response w/ multiple_requests=1
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>
Diffstat (limited to 'libavutil/x86/pixelutils.asm')
0 files changed, 0 insertions, 0 deletions