input_curl: honour http_proxy_* config directives

If http_proxy_{host, port, user, password} are provided in mpd.conf
they are not passed on to libcurl. As a result mpd cannot stream from
behind an http proxy.

The attached patch `http_proxy.patch` makes the relevant calls to
curl_easy_setopt(...) for all proxy configuration parameters, but is
only tested for host and port.
This commit is contained in:
Joe Milbourn
2009-01-13 22:57:05 +01:00
committed by Max Kellermann
parent 18cb34700e
commit 45598d50e3
2 changed files with 31 additions and 0 deletions

1
NEWS
View File

@@ -14,6 +14,7 @@ ver 0.15 - (200?/??/??)
* added Icy-Metadata support
* fix cross-fading bug: it used to play some chunks of the new song twice
* --create-db starts the MPD daemon instead of exiting
* input_curl: honour http_proxy_* config directives
ver 0.14 (2008/12/25)
* audio outputs: