You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to provide a tip regarding this extension and the php curl library on a server with both ipv4 and ipv6.
We ran into signifigant performance issues and the root of the problem was that on the server (RHEL 5 running 5.3) the curl requests were trying ipv6 DNS lookups before ipv4.
There are 2 fixes for this.
edit ALL of the CURLOPT code blocks to include curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );
force the server to stop using ipv6.
Once this was done the curl API performance was near instant.
The text was updated successfully, but these errors were encountered:
I wanted to provide a tip regarding this extension and the php curl library on a server with both ipv4 and ipv6.
We ran into signifigant performance issues and the root of the problem was that on the server (RHEL 5 running 5.3) the curl requests were trying ipv6 DNS lookups before ipv4.
There are 2 fixes for this.
Once this was done the curl API performance was near instant.
The text was updated successfully, but these errors were encountered: