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

curl-and-php

Re: PHP & Curl - Timeout

From: Diana Castillo <diana_at_interhotel.com>
Date: Thu, 12 Jun 2003 18:57:19 +0200

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.
----- 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 6:25 PM
Subject: Re: PHP & Curl - Timeout

> On Thu, 12 Jun 2003, "Thomas Bähr [Office]" wrote:
>
> > Im SENDING Data via that CURL HTTP Post and the Server side to which iI
> > send the Data is STILL Proccessing the XML File while on my local system
> > the execution of my php script continues right after the CURL_Upload
> > snipset so i guess the CURL operation timedout before getting the answer
> > from the servlet [which in case still runs].
>
> If curl times out, it reports on error. You could easily check and find
out.
>
> > coz i think the curl operation does not wait enough to get the anser
from
> > the servlet which parses the XML Data file and AFTER finishing with all
> > record returning an XML answer - so i could see which records has been
> > imported and which not.
>
> curl has no default timeout value, it waits forever if nothing else in
your
> system stops it.
>
> --
> 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-12