curl-library
Re: API to provide SNI hostname
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 18 Feb 2015 23:22:09 +0100 (CET)
Date: Wed, 18 Feb 2015 23:22:09 +0100 (CET)
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?
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2015-02-18