aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_curl.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-25 18:13:15 +0100
committerMax Kellermann <max@duempel.org>2008-11-25 18:13:15 +0100
commit21dade26aa405005263d04391fd42a685c62491f (patch)
treeb60a7ec58cea2537219804e005c4986ce8ad27c3 /src/input_curl.c
parentd85184256e9bfbcd6e6533b8c806876ede52f538 (diff)
downloadmpd-21dade26aa405005263d04391fd42a685c62491f.tar.gz
mpd-21dade26aa405005263d04391fd42a685c62491f.tar.xz
mpd-21dade26aa405005263d04391fd42a685c62491f.zip
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.
Diffstat (limited to 'src/input_curl.c')
-rw-r--r--src/input_curl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input_curl.c b/src/input_curl.c
index 5570737b9..2f25a02c2 100644
--- a/src/input_curl.c
+++ b/src/input_curl.c
@@ -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;