php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
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
Status: Closed Package: cURL related
PHP Version: 5.3.3 OS: Irrelevant
Private report: No CVE-ID:
 [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)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-29 15:41 UTC] iliaa@php.net
Automatic comment from SVN on behalf of iliaa
Revision: http://svn.php.net/viewvc/?view=revision&revision=305835
Log: Fixed bug #52828 (curl_setopt does not accept persistent streams).
 [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.


 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Mon Apr 21 14:02:18 2014 UTC