fsspec / sshfs

sshfs - SSH/SFTP implementation for fsspec
Apache License 2.0
58 stars 14 forks source link

Use the block size determined by asyncssh if nothing is specified #52

Open mxmlnkn opened 2 weeks ago

mxmlnkn commented 2 weeks ago

Fixes #49

Note that the limits property will be added with this commit, which has not been released yet. It would be prudent to wait for this API to stabilize with the next version release of asyncssh.

This implementation checks for the existence of this property anyway, so that it also works with older versions of asyncssh.

I also need to check how it should behave / behaves with a server not supporting the limits query. Probably simply check max_read_len for None.