curl / Mailing Lists / curl-library / Single Mail

curl-library

RE: sftp upload request hangs with a high latency server using multi interface

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 5 Mar 2019 21:58:29 +0100 (CET)

On Tue, 5 Mar 2019, Ketul Barot via curl-library wrote:

> I know originally I said that I am seeing the same behavior with libssh2
> example but I think I misunderstood it.

It seems to work for me:

$ ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=500 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=500 ms
^C
--- localhost ping statistics ---
3 packets transmitted, 2 received, 33.3333% packet loss, time 1000ms

$ ./src/curl -T test.jpg sftp://localhost//tmp/removeme
   % Total % Received % Xferd Average Speed Time Time Time
Current
                                  Dload Upload Total Spent Left Speed
100 299k 0 0 100 299k 0 30413 0:00:10 0:00:10 --:--:-- 68040
$

This is with libcurl/7.64.1-DEV, OpenSSL/1.1.1b and libssh2/1.8.1_DEV

Any idea about what I should change to trigger this issue?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2019-03-05