3 ms·
I can't say for certain regarding this case specifically, but CURLOPT_CONNECT_ONLY (as I recall) does the TLS and proxy shenanigans, and then waits for you to s
by to3m 10y ago
I can't say for certain regarding this case specifically, but CURLOPT_CONNECT_ONLY (as I recall) does the TLS and proxy shenanigans, and then waits for you to say "HTTP 1.1" and so on. You can send and receive data using a BSD_socket-a-like API.
https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_ONLY.html https://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_ONLY.html