php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15544 multiple calls on handle not allowed
Submitted: 2002-02-13 13:30 UTC Modified: 2002-04-09 17:49 UTC
From: rene at vtwebwizard dot com Assigned:
Status: Closed Package: cURL related
PHP Version: 4.1.1 OS: MacOS 10.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rene at vtwebwizard dot com
New email:
PHP Version: OS:

 

 [2002-02-13 13:30 UTC] rene at vtwebwizard dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-09 17:49 UTC] jimw@php.net
this has been implemented for the upcoming 4.2.0 release.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 12:01:30 2024 UTC