Re: cvs: pear(ZEND_ENGINE_1) /SOAP/Transport HTTP.php
| From: | Arnaud Limbourg | Date: | Sat, 17 Jan 2004 14:41:06 +0000 |
| Subject: | Re: cvs: pear(ZEND_ENGINE_1) /SOAP/Transport HTTP.php | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-15754@lists.php.net to get a copy of this message | ||
The log message is supposed to remind the bug title. Transport_HTTPS fails on HTTP 500 response code
Arnaud.
On 17 Jan 2004, at 15:00, Arnaud Limbourg wrote:
arnaud Sat Jan 17 09:00:51 2004 EDTModified files: (Branch: ZEND_ENGINE_1) /pear/SOAP/Transport HTTP.phpLog: * fix #592: http://www.gentoo.org/doc/en/virt-mail-howto.xml Index: pear/SOAP/Transport/HTTP.php diff -u pear/SOAP/Transport/HTTP.php:1.39.2.3 pear/SOAP/Transport/HTTP.php:1.39.2.4 --- pear/SOAP/Transport/HTTP.php:1.39.2.3 Thu Dec 18 16:24:32 2003 +++ pear/SOAP/Transport/HTTP.php Sat Jan 17 09:00:51 2004 @@ -16,7 +16,7 @@// | Authors: Shane Caraveo <Shane@Caraveo.com> | // +----------------------------------------------------------------------+// -// $Id: HTTP.php,v 1.39.2.3 2003/12/18 21:24:32 arnaud Exp $ +// $Id: HTTP.php,v 1.39.2.4 2004/01/17 14:00:51 arnaud Exp $ // /** @@ -35,7 +35,7 @@ * HTTP Transport for SOAP * * @access public - * @version $Id: HTTP.php,v 1.39.2.3 2003/12/18 21:24:32 arnaud Exp $ + * @version $Id: HTTP.php,v 1.39.2.4 2004/01/17 14:00:51 arnaud Exp $ * @package SOAP::Transport::HTTP * @author Shane Caraveo <shane@php.net> */ @@ -579,7 +579,7 @@curl_setopt($ch, CURLOPT_POSTFIELDS, $msg); curl_setopt($ch, CURLOPT_URL, $this->url); curl_setopt($ch, CURLOPT_POST, 1); - curl_setopt($ch, CURLOPT_FAILONERROR, 1); + curl_setopt($ch, CURLOPT_FAILONERROR, 0); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 1);--PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php