[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tutorial/example sftp in non blocking mode


On Mon, 2024-05-13 at 11:50 -0700, Norm Green wrote:
> sftp is broken in nonblocking mode. Only ssh works.
> 
> See: https://gitlab.com/libssh/libssh-mirror/-/issues/58
> 
> Norm Green
> 
> 
> On 5/13/2024 11:40 AM, Reid Thompson wrote:
> > Hi,
> > Can someone point me to an example/tutorial that shows using ssh
> > and 
> > sftp in fully non-blocking mode?  It appears that only certain 
> > functions return *_AGAIN? Do you utilize a function that returns 
> > *_AGAIN when possible and utilize the standard functions otherwize?
> > 
> > THanks,
> > Reid
> 
> 

Thanks,

so at this time, sftp is blocking only? 

And it looks like sftp_async_read* have been deprecated.

Looks like there may be work going on in master to support non-
blocking?

Reid



Follow-Ups:
Re: tutorial/example sftp in non blocking modereid.thompson@xxxxxxxxxxxxxxx
References:
tutorial/example sftp in non blocking modeReid Thompson <reid.thompson@xxxxxxxxxxxxxxx>
Re: tutorial/example sftp in non blocking modeNorm Green <norm.green@xxxxxxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org