From:             sriram dot natarajan at gmail dot com
Operating system: linux
PHP version:      5.3.0
PHP Bug Type:     cURL related
Bug description:  curl is not able to post a string properly from a cloned 
handle

Description:
------------
currently, within php tests, the following tests are marked as 'expected
failures'

curl_copy_handle_basic_002.phpt 
curl_copy_handle_basic_005.phpt

which both does some thing like

curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,
"Hello=World&Foo=Bar&Person=John%20Doe");

  $copy = curl_copy_handle($ch);
  curl_close($ch);
  $curl_content_copy = curl_exec($copy);
  curl_close($copy);

  var_dump( $curl_content_copy );
  

Expected result:
----------------
these tests should pass fine.

Actual result:
--------------
string(163) "array(1) {
  ["test"]=>
  string(7) "getpost"
}


-- 
Edit bug report at http://bugs.php.net/?id=48965&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=48965&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=48965&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=48965&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=48965&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=48965&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=48965&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=48965&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=48965&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=48965&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=48965&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=48965&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=48965&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=48965&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=48965&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=48965&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=48965&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=48965&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=48965&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=48965&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=48965&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=48965&r=mysqlcfg

Reply via email to