[vlc-devel] [PATCH] HTTP: introduce an option to use (or not) the system (IE) proxy
Rémi Denis-Courmont
remi at remlab.net
Fri Apr 6 07:37:00 CEST 2012
Hello,
Wrong proxy settings have nothing to do with Windows. If you use FF or Chrome,
you can forget broken proxy settings in the http_proxy environment variable
just as well as in the MSIE registry.
On Friday 06 April 2012, Jean-Baptiste Kempf wrote:
> Should Close #5782
> ---
> modules/access/http.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/modules/access/http.c b/modules/access/http.c
> index 507143e..2925c38 100644
> --- a/modules/access/http.c
> +++ b/modules/access/http.c
> @@ -79,6 +79,8 @@ static void Close( vlc_object_t * );
> #define PROXY_PASS_LONGTEXT N_( \
> "If your HTTP proxy requires a password, set it here." )
>
> +#define PROXY_SYSTEM_TEXT N_("Use proxy parameters from the system.")
> +
> #define RECONNECT_TEXT N_("Auto re-connect")
> #define RECONNECT_LONGTEXT N_( \
> "Automatically try to reconnect to the stream in case of a sudden " \
> @@ -110,6 +112,9 @@ vlc_module_begin ()
> false )
> add_password( "http-proxy-pwd", NULL,
> PROXY_PASS_TEXT, PROXY_PASS_LONGTEXT, false )
> +#ifdef WIN32
> + add_bool( "http-system-proxy", false, PROXY_SYSTEM_TEXT,
> PROXY_SYSTEM_TEXT, false ) +#endif
If default is false, the code is practically totally useless. Remove it. Only
true default makes sense (barely).
--
Rémi Denis-Courmont
http://www.remlab.info
More information about the vlc-devel
mailing list