cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl processes hang on windows 2003

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sat, 13 Nov 2004 14:40:48 +0100 (CET)

On Fri, 12 Nov 2004, Yuri wrote:

> We are running curl from ASP as external command (process) and reading
> stdout. These processes hang quite frequently on Windows 2003 server. All
> processes hang when "I/O Writes"=50 and "I/O Write Bytes"=4031 as of Windows
> task manager (but looks like not byte count is a problem as we have some
> requests returning much more without problems).

My guest hunch is that this is somehow related to your network setup or
possibly on some weirdo thing in Windows 2003 server that curl on "normal"
windows doesn't suffer from.

> Also it looks random the same request may hang or may not hang (I was
> not able to find a way to reproduce it). We are using curl version 7.12.2.

When it hangs, there is still data to receive and it hangs at irregular
positions in the download stream?

How long does it hang? Are you sure that the server actually sends more data?

> Another side which ASP talks to is Apache webserver on Linux - it looks like
> there are no problems there. What could be the problem ?

Are you saying that when you fetch URLs from a different server it works every
time? Then it most surely sounds like the first server is the flaky one in
this equation, not curl.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-11-13