curl-library
Re: When will sftp disconnect using the same handler
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 8 Jul 2013 20:54:41 +0200
Date: Mon, 8 Jul 2013 20:54:41 +0200
On Mon, Jul 08, 2013 at 11:19:51AM +1000, Yong Liaw wrote:
> I am using the same curl handler for sftp to fetch files from sftp server every
> minute.
>
> My understanding is that it will use the same connection to fetch files. Will
> the connection be disconnected due to no activity for 1 minute? The reason I
> care about thiis is because login into our sftp server takes about 20 seconds.
curl won't disconnect the socket, but the remote server might, and the time
wouldn't be (directly) under the client's control.
>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-07-08