Commit ac8dce65 authored by Max Kellermann's avatar Max Kellermann

lib/curl/Request: "ICY 200 OK" is a response boundary header

parent 190d5250
ver 0.20.6 (not yet released)
* input
- curl: fix headers after HTTP redirect to Shoutcast server
* decoder
- ffmpeg: re-enable as fallback
- mpcdec: fix crash (division by zero) after seeking
......
......@@ -172,7 +172,10 @@ gcc_pure
static bool
IsResponseBoundaryHeader(StringView s)
{
return s.size > 5 && memcmp(s.data, "HTTP/", 5) == 0;
return s.size > 5 && (memcmp(s.data, "HTTP/", 5) == 0 ||
/* the proprietary "ICY 200 OK" is
emitted by Shoutcast */
memcmp(s.data, "ICY 2", 5) == 0);
}
inline void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment