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 <curl-library_at_lists.haxx.se>
Date: Sun, 14 Nov 2021 22:17:09 +0000

Hi!

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 xxx.test_host.com, yyy.test_host.com…
That they have the same DNS result.

I read the document says https://everything.curl.dev/libcurl/connectionreuse

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?

Thanks!


-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2021-11-14