Clarification on name resolving with and without HTTP proxy server needed
Date: Tue, 06 May 2008 22:50:44 +0200
just for clarification, my current understanding is as follows:
1) When using an HTTP proxy by configuring an easy handle with
the proxy server will resolve the DNS name of the server in the URL and
not libCurl ?
libCurl does not start any name resolving in case the proxy is specified
with an IP address ?
2) When the HTTP proxy server itself is specified via a DNS name, then
libCurl resolves the
DNS name to an IP locally (by use of the configured name server for
the system and the gethostbyname() methods)
and then forwards the HTTP Request to the proxy which resolves the
DNS name of the server ?
Thanks in advance,
Received on 2008-05-06