Editorial question137.2K views3,367 votes0 answers4,560 following
AI-generatedDoes Indy's IdHTTP send SNI when connecting to an HTTPS site using only an IP address?
The goal is to confirm whether the IdHTTP component automatically includes the Server Name Indication (SNI) extension in the TLS ClientHello when the destination is specified by a raw IP address rather than a hostname. Indy’s IdSSLIOHandlerSocketOpenSSL sets the SNI extension only when the Host property of IdHTTP is explicitly assigned; if the Host property