ID:               48965
 Updated by:       j...@php.net
 Reported By:      sriram dot natarajan at gmail dot com
 Status:           Assigned
 Bug Type:         cURL related
 Operating System: linux
 PHP Version:      5.3.0
 Assigned To:      srinatar
 New Comment:

See also bug #48774


Previous Comments:
------------------------------------------------------------------------

[2009-07-20 09:42:17] j...@php.net

only PHP_5_3 and HEAD? Not PHP_5_2..?

------------------------------------------------------------------------

[2009-07-18 07:10:07] sriram dot natarajan at gmail dot com

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 this bug report at http://bugs.php.net/?id=48965&edit=1

Reply via email to