lib/curl/Request: fix Exception "error" on Android
Apparently, it's not possible to change CURLOPT_NETRC on Android.
This commit is contained in:
parent
608d7ec1e7
commit
4dd10894ba
2
NEWS
2
NEWS
|
@ -1,4 +1,6 @@
|
|||
ver 0.21.22 (not yet released)
|
||||
* input
|
||||
- curl: fix streaming errors on Android
|
||||
* playlist
|
||||
- rss: support MIME type application/xml
|
||||
* mixer
|
||||
|
|
|
@ -56,7 +56,9 @@ CurlRequest::CurlRequest(CurlGlobal &_global,
|
|||
easy.SetUserAgent("Music Player Daemon " VERSION);
|
||||
easy.SetHeaderFunction(_HeaderFunction, this);
|
||||
easy.SetWriteFunction(WriteFunction, this);
|
||||
#ifndef ANDROID
|
||||
easy.SetOption(CURLOPT_NETRC, 1L);
|
||||
#endif
|
||||
easy.SetErrorBuffer(error_buffer);
|
||||
easy.SetNoProgress();
|
||||
easy.SetNoSignal();
|
||||
|
|
Loading…
Reference in New Issue