curl-library
Re: libcurl failing unpredictably on Win 2003 Server?
Date: Mon, 14 Mar 2005 16:21:01 +0100
Hi,
thanks for your reply. I got the debugging to work.
If we use the application in non-CGI mode (command-line) everything works
well. But if we use CGI mode, Apache just lets the CGI process run
forever, and IIS 6 produces a CGI error after some time. Most of the time
the download has not finished completely in that case. In Apache no extra
content is added anymore to the file in which the download is saved. The
CGI uses libcurl multi-interface.
Also using the curl command-line utility all downloads go fine (we looped
10 times).
I have attached the debug output hoping that somebody will see something
strange in there which could explain the behaviour (unfinished downloads,
in IIS a crash, in Apache the CGI just keeps on running, and as an
application everything works fine).
Thanks in advance.
Best regards,
Bart
-----Original Message-----
From: Daniel Stenberg <daniel-curl_at_haxx.se>
To: libcurl development <curl-library_at_cool.haxx.se>
Date: Fri, 11 Mar 2005 15:54:06 +0100 (CET)
Subject: Re: libcurl failing unpredictably on Win 2003 Server?
> On Fri, 11 Mar 2005, Bart van den Eijnden wrote:
>
> > How can one go about trying to debug this problem? Is there a way to
> get
> > debug information out of libcurl?
>
> CURLOPT_VERBOSE and CURLOPT_DEBUGFUNCTION are there to provide you with
> additional information from transfers.
>
> "once in a while" is very vague. Can you see any pattern in when it
> fails?
>
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
- text/plain attachment: mapserv_output.txt