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

curl-and-php

Re: PHP & Curl - Timeout

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 12 Jun 2003 18:25:00 +0200 (CEST)

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
Received on 2003-06-12