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.html

Reply via email to