Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speedup Curl-Request with various Parameters #92

Open
Nimrod-666 opened this issue Apr 7, 2021 · 0 comments
Open

Speedup Curl-Request with various Parameters #92

Nimrod-666 opened this issue Apr 7, 2021 · 0 comments

Comments

@Nimrod-666
Copy link

Hi, the curl request could work faster when added options like these:

CURLOPT_TCP_FASTOPEN => true // https://curl.se/libcurl/c/CURLOPT_TCP_FASTOPEN.html

CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4 // https://curl.se/libcurl/c/CURLOPT_IPRESOLVE.html -> shoud me maybe a setter method for peaple who wants to use ipv6

CURLOPT_ENCODING => '' // to enable compression, see php docs

CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_2TLS // see https://curl.se/libcurl/c/CURLOPT_HTTP_VERSION.html -> maybe as a setter too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant