cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Clarification on name resolving with and without HTTP proxy server needed

From: Stefan Krause <stefan.krause_at_gmx.net>
Date: Tue, 06 May 2008 22:50:44 +0200

Hello,

just for clarification, my current understanding is as follows:

1) When using an HTTP proxy by configuring an easy handle with
CURLOPT_PROXY,
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,

    Stefan
Received on 2008-05-06

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET