cURL / Mailing Lists / curl-library / Single Mail

curl-library

Virtual Host vs Path URI form

From: Pashupati Kumar <pash_k_at_yahoo.com>
Date: Fri, 19 Sep 2014 12:24:07 -0700

Hi,
If I use Virtual Host path name, will the underlying TCP connections be
reused for different sub-domains?

Virtual Host: ${protocol}://${sub-domain}.hostname.com/[${key}]
curl_easy_setopt(curl, CURLOPT_URL, "Virtual Host URI");

Path: ${protocol}://hostname.com/${sub-domain}/[${key}]
curl_easy_setopt(curl, CURLOPT_URL, "Path URI");

Thanks
Pash

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-09-19