Subject: Re: libssh2_sftp_seek64 doesn't work

Re: libssh2_sftp_seek64 doesn't work

From: Henrik Nordström <>
Date: Fri, 26 Aug 2011 14:55:58 +0200

tor 2011-08-25 klockan 16:33 +0800 skrev m odd:
> libssh2_sftp_seek64 should do more work than now, But my code is not
> very correct. am i right?

It looks reasonable, but sftp_packetlist_flush() looks dangerous to me
(actually in general, not specific to your change). What if it's in the
middle of sending a request?

Another possible issue is response packets arriving after the flush. If
I am not mistaken these will accumulate in the brigade and not get


Received on 2011-08-26