diff options
Diffstat (limited to '')
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/input/curl_input_plugin.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1,6 +1,7 @@ ver 0.17 (2010/??/??) * input: - cdio_paranoia: new input plugin to play audio CDs + - curl: enable CURLOPT_NETRC * decoder: - mpg123: implement seeking * output: diff --git a/src/input/curl_input_plugin.c b/src/input/curl_input_plugin.c index ae645bddf..873874e12 100644 --- a/src/input/curl_input_plugin.c +++ b/src/input/curl_input_plugin.c @@ -647,6 +647,7 @@ input_curl_easy_init(struct input_curl *c, GError **error_r) curl_easy_setopt(c->easy, CURLOPT_WRITEDATA, c); curl_easy_setopt(c->easy, CURLOPT_HTTP200ALIASES, http_200_aliases); curl_easy_setopt(c->easy, CURLOPT_FOLLOWLOCATION, 1); + curl_easy_setopt(c->easy, CURLOPT_NETRC, 1); curl_easy_setopt(c->easy, CURLOPT_MAXREDIRS, 5); curl_easy_setopt(c->easy, CURLOPT_FAILONERROR, true); curl_easy_setopt(c->easy, CURLOPT_ERRORBUFFER, c->error); |