cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
RE: 100% CPU usage when connection closed on HTTP upload
From: Matt Witherspoon <spoon_at_vt.edu>
Date: Mon, 4 Dec 2006 19:17:20 -0500
What appears to be happening is that my system (Linux 2.6.17 and 2.6.13) is
For whatever reason, an FTP upload in the same conditions set
The following patch fixes this problem for me. -Matt
--- select.c.orig 2006-12-04 14:05:39.000000000 -0500
On Thu, 30 Nov 2006, Matt Witherspoon wrote:
> This only seems to happen with HTTP upload (not HTTP download or FTP
That's very strange, since the actual data-sending is the exact same code
> 7.16.0 was compiled by myself, 7.13.1 came with FC4. Anyone have any
I don't think you _can_ do anythign wrong as a user of the tool, it _should_
detect the situation, and at least never just go 100% CPU.
See lib/sendf.c:Curl_write() for the internal function that sends data to
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-12-05
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info