curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: General query about SNI implementation.

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 16 Aug 2018 10:26:57 +0200 (CEST)

On Thu, 16 Aug 2018, Lessandro Mariano via curl-library wrote:

>> Also are any risks associated with using CURLOPT_RESOLVE to set Server
>> Name?

> There are unintended consequences, for instance if you configure a proxy
> curl will attempt to create a tunnel connection to the server name instead
> of the resolved ip address.

Not sure those are "unintended" but yes that's certainly one effect. I suppose
the HTTP proxy case is a pretty good reason for a dedicated SNI option...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-08-16