|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-12-04 01:34 UTC] pierrick@php.net
[2011-12-04 01:34 UTC] pierrick@php.net
[2011-12-04 01:34 UTC] pierrick@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: pierrick
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 14:00:01 2025 UTC |
Description: ------------ The curl_copy_handle function don't work when used with CURLOPT_PROGRESSFUNCTION Test script: --------------- <?php $ch = curl_init('http://www.php.net'); curl_setopt($ch, CURLOPT_NOPROGRESS, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_PROGRESSFUNCTION, function() { }); $ch2 = curl_copy_handle($ch); echo curl_exec($ch); unset($ch); echo curl_exec($ch2); Expected result: ---------------- No segault Actual result: -------------- Segfault