curl / Mailing Lists / curl-library / Single Mail

curl-library

General query about SNI implementation.

From: Alisha Joshi <a22295_at_gmail.com>
Date: Mon, 30 Jul 2018 10:31:35 +0530

Hi
I am trying to set server name extension in Client Hello using libcurl.
I have referred to this :
https://curl.haxx.se/mail/archive-2015-01/0042.html and tried using it in
my application and it works.
However, I find it worrysome that CURLOPT_RESOLVE option pre-populates the
DNS cache with entries for the host+port pair.
My intention is just to send Server name extension and not change any DNS
properties.
I would like to know why it was found better to use CURLOPT_RESOLVE to set
Server Name instead of providing a new
CURLOPT to set Server Name?
Also are any risks associated with using CURLOPT_RESOLVE to set Server
Name?

Thanks & Regards
Alisha

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-07-30