|  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: 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]
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.


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

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-29 15:41 UTC]
Automatic comment from SVN on behalf of iliaa
Log: Fixed bug #52828 (curl_setopt does not accept persistent streams).
 [2010-11-29 15:41 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: iliaa
 [2010-11-29 15:41 UTC]
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
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Feb 28 07:01:28 2024 UTC