curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: HTTP/2 PING : how can execute curl_easy_perform function only to connect to the server side

From: Kalin via curl-library <>
Date: Thu, 19 Jan 2023 10:31:43 +0200


Nope. CURLOPT_CONNECT_ONLY simply goes through the TCP 3-way handshake.
When server sends SETTINGS frame, no ACK is sent back. Also, no Magic and
own SETTINGS frame are sent.

Basically CURLOPT_CONNECT_ONLY does exactly what the name says, nothing
more or nothing less.

Best regards,

Received on 2023-01-19