cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: PHP & Curl - Timeout

From: Diana Castillo <diana_at_interhotel.com>
Date: Fri, 13 Jun 2003 10:44:41 +0200

I´ve been sending the request on the command line like this:
$xml_response =
file("http://www.hotelresb2b.com/xml/listen_xml.jsp?codigousu=globalres&clau
su=mblanca&afiliacio=VE&secacc=10936&xml=".urlencode($request));
I notice that it times out when the file takes about longer than 30 seconds
to send and recieve ( I put a timer on it) Also the CPU usage on the server
goes up to 90 % at the same time
I´m going to try with post method and with curl to see if there is any
improvement.

----- Original Message -----
From: "Daniel Stenberg" <daniel_at_haxx.se>
To: "curl and php list" <curl-and-php_at_lists.sourceforge.net>
Sent: Thursday, June 12, 2003 7:27 PM
Subject: Re: PHP & Curl - Timeout

> On Thu, 12 Jun 2003, Diana Castillo wrote:
>
> > I´m having a similar problem processing XML files without CURL, just
> > sending the data via get. and waiting for the response. There is no
problem
> > if the file is small but when it gets large , it just hangs there with a
> > blank browser.
>
> Can you repeat it with the command line version?
>
> What curl version? What operating system? HTTP or HTTPS? POST?
>
> How big is "large"? Have you seen any noticable limit when this starts to
> happen?
>
> --
> Daniel Stenberg -- curl: been grokking URLs since 1998
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now! Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
>
>

-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
Received on 2003-06-13