| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
CURL.SetOptionSSLEnableALPN
Enable/disable TLS ALPN extension.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| CURL | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.SetOptionSSLEnableALPN"; curl; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |
| Value | The option value. |
Result
Returns OK or error.
Description
Enable/disable TLS ALPN extension.http2 over ssl might fail without.
See also SSL_ENABLE_ALPN option in CURL manual.
See also
Created 15th April 2018, last changed 29th November 2019