Re: [PATCH 2/2] http: use credential API to handle proxy authentication
- From
- Knut Franke <k.franke@science-computing.de>
- Date
- Oct 30, 2015, 18:24 UTC
- Message-ID
- <20151030182426.GA16389@science-computing.de>
- In-Reply-To
- <CAPig+cRK-EPpH4dUMpYBcjR22Wqw4RnNTYeBvw-M7h=CTFGviQ@mail.gmail.com>
On 2015-10-28 14:58, Eric Sunshine wrote:
Show 9 quoted lines
> > + }
> > + if (!curl_http_proxy) {
> > + copy_from_env(&curl_http_proxy, "ALL_PROXY");
> > + copy_from_env(&curl_http_proxy, "all_proxy");
> > + }
>
> If this sort of upper- and lowercase environment variable name
> checking is indeed desirable, I wonder if it would make sense to fold
> that functionality into the helper function.It's just for consistency with libcurl here, not generally desirable; so I don't think it makes sense to add it to the helper.
Otherwise, will fix. Thanks.
Cheers, Knut
-- Vorstandsvorsitzender/Chairman of the board of management: Gerd-Lothar Leonhart Vorstand/Board of Management: Dr. Bernd Finkbeiner, Dr. Arno Steitz Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board: Philippe Miltin Sitz/Registered Office: Tuebingen Registergericht/Registration Court: Stuttgart Registernummer/Commercial Register No.: HRB 382196