cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: "100% CPU usage during SFTP transfer" bugfix

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 28 Aug 2009 00:10:45 +0200 (CEST)

On Mon, 24 Aug 2009, Kamil Dudka wrote:

> What about the attached patch? It solves the problem for me, not sure if
> that way is libcurl is supposed to work...

Not bad, not bad at all. But I didn't like the #ifdefs and the second socket
handling for the ssh transfers could be made better. How about this updated
version (based on yours) ?

-- 
  / daniel.haxx.se

Received on 2009-08-28