RE: [SOAP] Timeout Issue
| From: | Laurent Buhler | Date: | Mon, 01 Dec 2003 19:40:01 +0000 |
| Subject: | RE: [SOAP] Timeout Issue | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1186@lists.php.net to get a copy of this message | ||
Hi Rob,
I was looking at Transport/HTTP.php [from SOAP 0.8RC2] when I got your email
It looks like if you don't specify timeout, default timeout is 4 sec.
Did not try but you can set $options['timeout' when you call HTTP:send($msg,
$option)
;-) Laurent.
> -----Original Message-----
> From: Rob Booth [mailto:rbooth@indyme.com]
> Sent: Monday, December 01, 2003 11:25 AM
> To: soap@lists.php.net
> Subject: [SOAP] Timeout Issue
>
> I don't know if this is a SOAP issue or not, but I thought I'd ask if
> anyone
> has run into this.
>
> I have a reporting system setup that uses SOAP for transmitting the data.
> When I run a report query against my MySQL database that takes ~2 seconds
> or
> less everything is fine. But if I run a query that takes more that 4
> seconds to process my script dies and returns a "Invalid HTTP Response"
> error.
>
> Has anyone run into something like this? Does SOAP reset the default max
> execution time?
>
> Rob
>
> --
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>