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

Reply via email to