GNURLOPT_SSL_FALSESTART(3)
π GNURLOPT_SSL_FALSESTART(3) π
okay bestie, welcome to the curl_easy_setopt options manual page β this one is all about CURLOPT_SSL_FALSESTART, aka the switch that lets you enable TLS false start. Let's go, it's giving TLS handshake energy. π¦β¨
πΈ NAME πΈ
CURLOPT_SSL_FALSESTART β enable TLS false start π
β¨ SYNOPSIS β¨
#include <gnurl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSL_FALSESTART, long
enable);
π DESCRIPTION π
okay so you pass a long as the parameter β set it to 1L to enable, or 0 to disable. That's the whole vibe.
This option determines whether libcurl should use false start during the TLS handshake. False start is a mode where a TLS client will start sending application data before verifying the server's Finished message β the way that saves a round trip when performing a full handshake. Slay. π
π DEFAULT π
Default: 0 β off by default, bestie. π€
π PROTOCOLS π
All TLS based protocols: HTTPS, FTPS, IMAPS, POP3S, SMTPS etc. π
π EXAMPLE π
Here's the code, literally:
CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com");
curl_easy_setopt(curl, CURLOPT_SSL_FALSESTART, 1L);
curl_easy_perform(curl);
}
π AVAILABILITY π
Added in 7.42.0. This option is currently only supported by the NSS and Secure Transport (on iOS 7.0 or later, or OS X 10.9 or later) TLS backends. π«Ά
π RETURN VALUE π
Returns CURLE_OK if false start is supported by the SSL backend, otherwise returns CURLE_NOT_BUILT_IN. So if your backend isn't built for it, you get CURLE_NOT_BUILT_IN β not a vibe, but at least it's clear. π
okay that's the whole page, bestie. This one came from libcurl 7.41.0, dated 14 Feb 2015 β mwah πβ¨
π¦ where this page comes from
- nixos 26.05: libgnurl 7.72.0
- nixpkgs unstable: libgnurl 7.72.0
- Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms