Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.1

Request #19515 Custom options for CURL adapter
Submitted: 2012-07-18 18:26 UTC
From: vovka Assigned: avb
Status: Closed Package: HTTP_Request2 (version 2.1.1)
PHP Version: 5.3.14 OS: Centos
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 30 + 42 = ?

 [2012-07-18 18:26 UTC] vovka (Volodymyr Chukh)
Description: ------------ At the moment it is not possible add custom options for CURL adapter. Please add capability to adding custom options for CURL adapter. Like CURLOPT_INTERFACE, etc. For example this capability using Zend: $config = array( "adapter" => "Zend_Http_Client_Adapter_Curl", "curloptions" => array(CURLOPT_INTERFACE=>"") ); $client = new Zend_Gdata_HttpClient(null, $config);


 [2014-01-12 17:58 UTC] avb (Alexey Borzov)
-Status: Open +Status: Closed -Assigned To: +Assigned To: avb
Implemented in Git. Instead of allowing custom options for Curl adapter, I implemented the common config option 'local_ip' for specifying local interface to bind to.
 [2014-01-12 17:59 UTC] avb (Alexey Borzov)
'common' as in 'working for both Curl and Socket adapters'