RE: [SOAP] Increasing the Client timeout

From: Date: Tue, 01 Jul 2003 12:30:31 +0000
Subject: RE: [SOAP] Increasing the Client timeout
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-747@lists.php.net to get a copy of this message
The $soapclient->setOpt('curl', CURLOPT_TIMEOUT, 10); method is the best way to do it. The HTTP code variable is where the default is set. I ran into the same issues as you a while ago and hacked the code (I was in a hurry), then used the method above. Best, Paul -----Original Message----- From: Mike Carter [mailto:mcarter@quantiv.com] Sent: Tuesday, July 01, 2003 7:07 AM To: LIMBOURG Arnaud; Mike Carter; soap@lists.php.net Subject: RE: [SOAP] Increasing the Client timeout Hi, > -----Original Message----- > From: LIMBOURG Arnaud [mailto:arnaud.limbourg.prestataire@cegetel.fr] > > > Hi, > > > > I recall (vaugley) that there was a way to increase the > HTTP response > > timeout for the SOAP Client. > > > > As there is no searchable mailing list archive I have to > ask again. Is > > it something to do with cURL? > > > > Hope somebody can let me know how to increase the timeout ASAP. > > Hi, > > $soapclient->setOpt('curl', CURLOPT_TIMEOUT, 10); Thanks for the info. Is this setting different to the $timeout variable which is specified in SOAP/Transport/HTTP.php ? It defaults to = 4 in there. Regards, Mike C. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.495 / Virus Database: 294 - Release Date: 6/30/2003 ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.soap (#747) next »