wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wget | Add libproxy support (!35)


From: Jan-Michael Brummer (@jbrummer_vw)
Subject: Re: wget | Add libproxy support (!35)
Date: Mon, 16 Oct 2023 08:45:45 +0000



Jan-Michael Brummer commented on a discussion on src/retr.c: 
https://gitlab.com/gnuwget/wget/-/merge_requests/35#note_1604882724

> +         {
> +            debug_logprintf (_("Allocating memory for libproxy failed"));
> +            return NULL;
> +         }
> +
> +       debug_logprintf (_("asking libproxy about url '%s'\n"), u->url);
> +       char **proxies = px_proxy_factory_get_proxies (pf, u->url);
> +       if (proxies[0])
> +         {
> +           char *check = NULL;
> +           asprintf (&check , "%s", proxies[0]);
> +
> +           debug_logprintf (_("libproxy suggest to use '%s'\n"), check);
> +           if (strcmp (check, direct) != 0)
> +             {
> +               asprintf (&proxy, "%s", proxies[0]);

Applied locally.

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget/-/merge_requests/35#note_1604882724
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]