cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Manual setting of TLS Server Name Indication

From: Peter Sylvester <peter.sylvester_at_edelweb.fr>
Date: Tue, 10 Aug 2010 10:04:39 +0200

On 08/10/2010 12:39 AM, Daniel Stenberg wrote:
> ...
>
> $ curl -H "Host: www.example.com" http://127.0.0.1/
Nice.
>
> ...
>
> We could (or should?) perhaps do the same when a custom Host: is used
> and an SNI name is passed on, as then (lib)curl would still do the
> proper SNI even when trying out a local https:// site like above.
>
Yes, since the SNI name should match whatever is the Host:
Good idea.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-10