This month's Index
Subject: Re: libssh2_sftp_write blocks for about 3 minutes
Re: libssh2_sftp_write blocks for about 3 minutes
From: Pan K <zuboci_at_yandex.com>
Date: Tue, 05 Dec 2017 17:00:59 +0000
Absolutely, however from previous messages in this thread, the select poll libssh2 is using immediately returns 'ready' when the socket is in that state without anything actually being ready to read, which results in a hot loop.
Not sure what could be done to correctly determine the socket is actually in a re-transmission state pending close. But yes, non-blocking mode would only be a work around.
05.12.2017, 16:39, "Daniel Stenberg" <firstname.lastname@example.org>: