Make WordPress Core

Opened 5 years ago

#46372 new defect (bug)

Missing Proxy Support in Requests/Transport/cURL.php

Reported by: einxperiment's profile einxperiment Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.1
Component: HTTP API Keywords:
Focuses: Cc:


A Request via wp_remote_get() tries to connect directly to the external URL and returns "cURL error 28: Connection timed out after 10000 milliseconds". During research i found the reason in the Requests/Transport/cURL.php because it ignores the WP_PROXY settings from the config.php.


   curl_setopt( $this->handle, CURLOPT_PROXY, '' );
   curl_setopt( $this->handle, CURLOPT_PROXYPORT, 80 );


Change History (0)

Note: See TracTickets for help on using tickets.