RE: [SOAP] Verbose Curl
| From: | (Jonathan Schilling) | Date: | Thu, 22 May 2003 13:17:00 +0000 |
| Subject: | RE: [SOAP] Verbose Curl | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-638@lists.php.net to get a copy of this message | ||
> From arnaud.limbourg.prestataire@cegetel.fr Thu May 22 09:11:27 2003
>
> The problem comes from Transport/HTTP.php
>
> 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_FOLLOWLOCATION, 1);
> curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
> curl_setopt($ch, CURLOPT_VERBOSE, 1);
>
> It is hardcoded to set verbose to 1. the weird thing is that options are
> processed after. Try removing this line from SOAP/Transport/HTTP.php
The patch that I originally submitted for SOAP/Transport/HTTP.php
took out the setting of CURLOPT_VERBOSE, but when the code was
reworked to use the different style of setting options, the
hardcoded CURLOPT_VERBOSE crept back in.
Jonathan Schilling