curl_setopt does not accept persistent streams

Bug #52828 curl_setopt does not accept persistent streams
Submitted: 2010-09-13 17:15 UTC Modified: 2010-11-29 15:41 UTC
From: cataphract@php.net Assigned: iliaa (profile)
Status: Closed Package: cURL related
PHP Version: 5.3.3 OS: Irrelevant
Private report: No CVE-ID: None

 [2010-09-13 17:15 UTC] cataphract@php.net

Description:
------------
The options CURLOPT_FILE, CURLOPT_INFILE, CURLOPT_WRITEHEADER and CURLOPT_STDERR do not accept persistent handles.

Since there appears to be special no reason for that, it's probably of a simple mistake of not including the return of php_file_le_pstream() in the list of accepted resource types.


Patches

curl_add_persistent (last revision 2010-09-13 15:15 UTC by cataphract)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports

 [2010-11-29 15:41 UTC] iliaa@php.net

-Status: Open +Status: Closed -Assigned To: +Assigned To: iliaa

 [2010-11-29 15:41 UTC] iliaa@php.net

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.