[Bug 3096] sftp requires multiple round trips to do a write with a fsync()

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Nov 20 12:06:34 AEDT 2019


https://bugzilla.mindrot.org/show_bug.cgi?id=3096

Darren Tucker <dtucker at dtucker.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at dtucker.net

--- Comment #2 from Darren Tucker <dtucker at dtucker.net> ---
Why would the protocol require a round-trip?

The fsync extension operates on an open file handle
(https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL section 3.6),
there can be multiple requests in flight from client to server
(https://tools.ietf.org/html/draft-ietf-secsh-filexfer-02 section 3)
and the server must process the operations on a given file handle in
order  (filexfer-02 section 6.1), so a client should be able to send
open,write,write,write,fsync,close, then process all of the replies.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list