Bug #33570 [Com]: curl_errno does not return error codes on multi handles

From: Date: Wed, 10 Oct 2012 15:42:38 +0000
Subject: Bug #33570 [Com]: curl_errno does not return error codes on multi handles
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-173991@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=33570&edit=1

 ID:                 33570
 Comment by:         jerry at jerryniman dot co dot uk
 Reported by:        eja40 at cam dot ac dot uk
 Summary:            curl_errno does not return error codes on multi
                     handles
 Status:             No Feedback
 Type:               Bug
 Package:            cURL related
 Operating System:   Redhat 9
 PHP Version:        5.0.4
 Block user comment: N
 Private report:     N

 New Comment:

Bug still there at PHP 5.2.13

OS -  redhat linux
Build Date - May 1 2010 23:54:46

curl_error($ch) returns 'Couldn't resolve host'
curl_errno($ch) returns 0


Previous Comments:
------------------------------------------------------------------------
[2010-06-16 16:42:32] c dot madmax at gmail dot com

The bug still exists in PHP 5.2.9!

------------------------------------------------------------------------
[2005-07-12 01:00:04] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------
[2005-07-05 00:15:15] tony2001@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip



------------------------------------------------------------------------
[2005-07-05 00:10:27] eja40 at cam dot ac dot uk

Description:
------------
curl_error($this->connections[$i]) returns 'Operation timed out with 27286 out of 64683
bytes received'

But:

curl_errno($this->connections[$i]) returns 0 regardless of the error text

This only occurs on a multi-curl handle...



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



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


Thread (6 messages)

« previous php.bugs (#173991) next »