cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: API to provide SNI hostname

From: Larry Campbell <lcampbel_at_akamai.com>
Date: Wed, 18 Feb 2015 17:42:25 -0500

On Feb 18, 2015, at 5:22 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Wed, 18 Feb 2015, Larry Campbell wrote:
>
>> A while ago there was a thread about adding an API to provide the hostname to be supplied in the TLS SNI; the thread was entitled "Patch: OpenSSL Server Name Indication value should match custom Host header" and can be found here in the archives:
>>
>> http://curl.haxx.se/mail/lib-2010-11/index.html#19
>>
>> It seems that nothing ever came of this.
>
> I believe CURLOPT_RESOLVE is basically what we made (instead):
>
> http://curl.haxx.se/libcurl/c/CURLOPT_RESOLVE.html
>
> This works with all protocols and it works with HTTP redirects (which custom HTTP headers don't necessarily).
>
> Good enough for you too?

I'll give it a try. Thanks.

- lc

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

  • application/pkcs7-signature attachment: smime.p7s
Received on 2015-02-18