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 (profile)
Status: Closed Package: cURL related
PHP Version: 5.3.3 OS: Irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cataphract@php.net
New email:
PHP Version: OS:

 

 [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
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-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 17:01:29 2024 UTC