-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash with -o max_write=67108864 -o max_read=67108864 #8
Comments
I'll verify later today, but I believe the error is expected if the sftp server doesn't support read/write size negotiation. |
Using On other size is latest OpenSSH. |
The challenge here is that you can't tell that the server doesn't support it until you've already started the SSH connection. Maybe that can be reordered in the code so the fuse setup happens after? |
I think this is not critical error to call |
Silently ignoring user specified parameters is bad. There are many posts on the internet where people think you can set arbitrarily large read/write sizes for performance improvements because they don't realize the code just caps the values. If you ask for something impossible, there should be immediate feedback. |
Can you post the version string and Linux distribution? |
Since it isn't completely silent (it does say what the error is), I suppose we should clean up fuse properly before exiting instead of calling abort() |
Crash with message:
Read size too large. OpenSSH SFTP server message limit is 261120
Abort trap (core dumped)
Write size too large. OpenSSH SFTP server message limit is 261120
Abort trap (core dumped)
The text was updated successfully, but these errors were encountered: