curl / Mailing Lists / curl-users / Single Mail

curl-users

Resolution of host name before checking against no_proxy env variable

From: Piotr Dobrogost <2018_at_p.dobrogost.net>
Date: Fri, 7 Dec 2018 10:09:35 +0100

It seems curl checks host name – given as a parameter on the command line –
against no_proxy environment variable without doing name resolution first.
Is this the case?
If so could it also check against resolved domain name?
As it is now there's no way to skip http proxy for all single-label host
names by setting no_proxy=.local.domain.suffix as to curl all single-label
host names are not related in any way.

Regards,
Piotr Dobrogost

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-12-07