curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

RE: Connection to file server disconnected while file transfer is in progress

From: vaibhav.taksale--- via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 3 Sep 2021 10:41:46 +0000

Hi Daniel,

> How does it "time out" ? What does it mean, exactly. A TCP connection where the KEEPALIVE detected it as dead? Or is it just a silent TCP connection where no packets are sent?
We don't have a keepalive mechanism to detect the disconnection. However, we do want to try with CURLOPT_TCP_KEEPALIVE

> Is it always timing out after exactly two minutes?
Not exactly. Varies between 2-3 minutes.
Our analysis lead to issues in Filezilla Server settings on tester's pc.

> Is this SFTP?
No

Regards,
Vaibhav

-----Original Message-----
From: Daniel Stenberg <daniel_at_haxx.se>
Sent: Thursday, 26 August, 2021 12:27
To: vaibhav.taksale--- via curl-library <curl-library_at_cool.haxx.se>
Cc: Taksale Vaibhav (M) <vaibhav.taksale_at_external.marelli.com>
Subject: RE: Connection to file server disconnected while file transfer is in progress

On Thu, 26 Aug 2021, vaibhav.taksale--- via curl-library wrote:

> Regarding disconnection, here is code flow - 1. Authentication to
> server successful.
> 2. Opening data channel for File download from server 3. after 2
> minutes, connection timed out.

How does it "time out" ? What does it mean, exactly. A TCP connection where the KEEPALIVE detected it as dead? Or is it just a silent TCP connection where no packets are sent?

Is it always timing out after exactly two minutes?

Is this SFTP? If so, your ssh library and version are also important details.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2021-09-03