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:40:28 +0000



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

> +       pxProxyFactory *pf = px_proxy_factory_new ();
> +       char direct[] = "direct://";
> +       int i;
> +
> +       if (!pf)
> +         {
> +            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]);

You are right, this is not necessary. Using proxies directly now.

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




reply via email to

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