curl / Mailing Lists / curl-library / Single Mail


Re: General query about SNI implementation.

From: Daniel Stenberg via curl-library <>
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...

Received on 2018-08-16