cURL / Mailing Lists / curl-library / Single Mail

curl-library

Manual setting of TLS Server Name Indication

From: Matthieu Speder <mspeder_at_users.sourceforge.net>
Date: Mon, 9 Aug 2010 10:56:49 +0200

Hi,

Classical behavior is to fill the SNI TLS Extension with the hostname
specified in the url (this is what libcurl does today).
However, in certain circumstances, in can be useful to override that, and
manually specify the SNI field value (for example, when multiple virtual
hosts share a single dns entry or when there is no dns at all and url
contains an IP address).
I've written a small enhancement for libcurl that offers a new option
CURLOPT_SSLSNI allowing the SNI value to be specified.
When the new option is not used, the behavior remains as it was before.

Would it be possible to include this enhancement in the lib ?
What is the best/correct way to submit a patch ?

Thanks !

Matthieu

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