SFTPFile prefetch assumes response order matches requests #34
The SFTP v3 specification is very clear that response order is not required not match request order; in section 6.1 of the -02 draft:
There is a restriction that requests have to be processed in order, i.e. a read following a write must reflet the effect of the write if they overlap, but that's not directly relevant to read-only prefetching.
IMHO the best way to fix this would be to have
The reason I noticed is of course that I have a reordering-capable server, though currently reordering is partially disabled, precisely to avoid tickling this bug in Paramiko.
The text was updated successfully, but these errors were encountered: