cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: control connection termination during large FTP uploads

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 1 Mar 2007 22:47:03 +0100 (CET)

On Wed, 28 Feb 2007, Seymen Ertas wrote:

> In summary during large upload sessions the control connection seems to be
> terminated where the data connection is still active and is unaware that the
> control connection is no longer around.

A common problem indeed.

> I am wondering whether CURL provides any options where a keep-alive is
> implemented for the control connection during large transfers ?

Nope, unfortunately it doesn't.

> What I mean by this is sending a couple of useless commands periodically
> just to keep the control connection alive.

There is a 'NOOP' command that would fit perfectly. But nobody has written any
code that makes libcurl do this. Feel free to start!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-03-01