curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Connection Cache with the same destination ip address but different hostname

From: Yongkang Huang via curl-library <>
Date: Sun, 14 Nov 2021 22:17:09 +0000


Will curl/libcurl reuse the cache with different hostname but the same ip address underlying?
In my application, Iím dealing with some hostname like, yyy.test_host.comÖ
That they have the same DNS result.

I read the document says

The connection re-use check is done before any DNS or other name resolving mechanism is used, so it is purely host name based.

Is there anyway I can let these connection share the connection cache?


Received on 2021-11-14