input_curl: disable Icy-Metadata

input_curl.c does not support parsing shoutcast metadata yet.  Disable
the "Icy-Metadata" header for now, since it may cause corruptions in
the stream.
This commit is contained in:
Max Kellermann 2008-11-25 18:13:15 +01:00
parent d85184256e
commit 21dade26aa

View File

@ -474,8 +474,10 @@ input_curl_easy_init(struct input_stream *is)
return false;
c->request_headers = NULL;
/*
c->request_headers = curl_slist_append(c->request_headers,
"Icy-Metadata: 1");
*/
curl_easy_setopt(c->easy, CURLOPT_HTTPHEADER, c->request_headers);
return true;