Bug #15544 Updated: multiple calls on handle not allowed

From: Date: Tue, 09 Apr 2002 21:49:14 +0000
Subject: Bug #15544 Updated: multiple calls on handle not allowed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-4483@lists.php.net to get a copy of this message
ID: 15544 Updated by: jimw@php.net Reported By: rene@vtwebwizard.com -Status: Open +Status: Closed Bug Type: cURL related Operating System: MacOS 10.1 PHP Version: 4.1.1 New Comment: this has been implemented for the upcoming 4.2.0 release. Previous Comments: ------------------------------------------------------------------------ [2002-02-13 13:30:28] rene@vtwebwizard.com I recently upgraded a Mac server and am getting errors in a previously working cURL application. The problem is that I'm doing multiple curl_exec calls on a cURL handle without calling curl_close and reinitializing the handle each time. The error message: Warning: Multiple executions on the same handle are not currently supported, please upgrade to the next version of PHP in /smalldog/sites/checkout.smalldog.com/ups/ups_util.php on line 244 As I had just upgraded to the latest version of PHP, the error message sounded fishy. Anyhow, it's easy enough to code around, but it's not documented as being required. Should this be a code or documentation fix? Rene Version info. The older server is: PHP Version 4.0.5 System Darwin fantail.smalldog.com 5.1 Darwin Kernel Version 5.1: Tue Oct 30 00:06:34 PST 2001; root:xnu/xnu-201.5.obj~1/RELEASE_PPC Power Macintosh powerpc Build Date Dec 18 2001 Configure Command './configure' '--with-mysql' '--with-curl=../curl-7.8' '--with-apache=../apache_1.3.19' '--enable-track-vars' Server API Apache Virtual Directory Support disabled Configuration File (php.ini) Path /usr/local/lib ZEND_DEBUG disabled Thread Safety disabled The new server is: PHP Version 4.1.1 System Darwin localhost 5.2 Darwin Kernel Version 5.2: Fri Dec 7 21:39:35 PST 2001; root:xnu/xnu-201.14.obj~1/RELEASE_PPC Power Macintosh powerpc Build Date Jan 16 2002 Configure Command './configure' '--with-mysql' '--with-curl=../curl-7.9.2' '--with-apache=../apache_1.3.22' '--enable-track-vars' Server API Apache Virtual Directory Support disabled Configuration File (php.ini) Path /usr/local/lib ZEND_DEBUG disabled Thread Safety disabled ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15544&edit=1

« previous php.bugs (#4483) next »