[wp-trac] [WordPress Trac] #21446: plugins using curl with IPV6 enabled servers
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 1 21:46:29 UTC 2012
#21446: plugins using curl with IPV6 enabled servers
-------------------------+-----------------------------
Reporter: mippie32 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 3.4.1
Severity: normal | Keywords: needs-testing
-------------------------+-----------------------------
plugins using curl give problems on servers having both IPV4 and IPV6
network interfaces running. Basically the performance is poor because curl
is timing out on the IPv6 address.. The workaround is:
add line:
curl_setopt( $handle, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
in ../wp-includes/class-http.php
Why not have this set as default?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21446>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list