Edit report at http://bugs.php.net/bug.php?id=48203&edit=1

 ID:                 48203
 Patch added by:     sh...@php.net
 Reported by:        php-bug at paulsohier dot nl
 Summary:            crash when CURLOPT_STDERR is set to regular file
 Status:             Re-Opened
 Type:               Bug
 Package:            cURL related
 Operating System:   *
 PHP Version:        5.*, 6CVS (2009-05-09)
 Assigned To:        jani
 Block user comment: N
 Private report:     N

 New Comment:

The following patch has been added/updated:

Patch Name: reset_to_default_with_multi.patch.txt
Revision:   1307604675
URL:        
http://bugs.php.net/patch-display.php?bug=48203&patch=reset_to_default_with_multi.patch.txt&revision=1307604675


Previous Comments:
------------------------------------------------------------------------
[2011-06-09 09:30:05] sh...@php.net

Added patch for updated tests (tests were commited here 

http://news.php.net/php.cvs/65161). See also discussion here: 

http://markmail.org/message/dfjgty27qfhj4ulf

------------------------------------------------------------------------
[2011-06-09 09:16:16] sh...@php.net

Automatic comment from SVN on behalf of shein
Revision: http://svn.php.net/viewvc/?view=revision&revision=311959
Log: Updated (currently failing) test for bug48203 with curl_stderr and added 
also curl_multi_exec variant of this test.

------------------------------------------------------------------------
[2009-05-26 17:16:53] j...@php.net

This bug has been fixed in CVS.

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.



------------------------------------------------------------------------
[2009-05-26 12:34:48] j...@php.net

This fixes all the test cases I could come up with:



  http://pecl.php.net/~jani/patches/bug48203.patch



Even the quite insane ones too. It falls back to using STDERR which is the 
default anyway if the file pointer is closed prematurely.

------------------------------------------------------------------------
[2009-05-26 06:09:24] j...@php.net

It's also the bad implementation for CURLOPT_STDERR which causes such problems. 
It should be handled using the debugging facilities in cURL.

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=48203


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=48203&edit=1

Reply via email to