Skip to content
Snippets Groups Projects
Commit 636273d3 authored by wm4's avatar wm4 Committed by Michael Niedermayer
Browse files

http: handle ICY in presence of chunked transfer encoding


Some http servers send an ICY stream in combination with chunked
transfer encoding. This case was handled incorrectly by the ICY code:
instead of handling chunked encoding before anything ICY related, both
were mixed.

Fix this by separating the ICY code from normal http reading. Move the
normal http reading to a new function http_read_stream(), while
http_read() handles ICY on top of http_read_stream().

The server identified itself as: cloudflare-nginx

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 9deecdf8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment