curl-library
Re: Manual setting of TLS Server Name Indication
Date: Fri, 13 Aug 2010 11:12:53 +0200
On 08/13/2010 10:59 AM, Daniel Stenberg wrote:
> On Fri, 13 Aug 2010, Peter Sylvester wrote:
>
>>> Can the SNI field really not be set to work with an IP address? What
>>> if you have multiple IP addresses, have the server listen on all of
>>> them and connect to the host using https://1.2.3.4/moo ?
>>
>> "HostName" contains the fully qualified DNS hostname of the server
>>
>> Literal IPv4 and IPv6 addresses are not permitted in "HostName".
>
> Right, thanks for that. I guess we need to use two separate fields
> then when we extract the field from the Host: header - cookie host
> name and TLS host name.
>
Or a flag indicating whether it looks like a DNS name or not
.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-13