Fix curl storage plugin failure if the authentication method is different than basic.
This commit is contained in:
2
NEWS
2
NEWS
@@ -1,4 +1,6 @@
|
|||||||
ver 0.20.18 (not yet released)
|
ver 0.20.18 (not yet released)
|
||||||
|
* input
|
||||||
|
- curl: allow authentication methods other than "Basic"
|
||||||
* decoder
|
* decoder
|
||||||
- flac: improve seeking precision
|
- flac: improve seeking precision
|
||||||
* fix gapless CUE song transitions
|
* fix gapless CUE song transitions
|
||||||
|
@@ -62,6 +62,7 @@ CurlRequest::CurlRequest(CurlGlobal &_global, const char *url,
|
|||||||
easy.SetOption(CURLOPT_NOPROGRESS, 1l);
|
easy.SetOption(CURLOPT_NOPROGRESS, 1l);
|
||||||
easy.SetOption(CURLOPT_NOSIGNAL, 1l);
|
easy.SetOption(CURLOPT_NOSIGNAL, 1l);
|
||||||
easy.SetOption(CURLOPT_CONNECTTIMEOUT, 10l);
|
easy.SetOption(CURLOPT_CONNECTTIMEOUT, 10l);
|
||||||
|
easy.SetOption(CURLOPT_HTTPAUTH, (long) CURLAUTH_ANY);
|
||||||
easy.SetOption(CURLOPT_URL, url);
|
easy.SetOption(CURLOPT_URL, url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user