From e91045315696186078e0cf06da9f829560a300bc Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Wed, 27 Nov 2019 10:29:46 +0000 Subject: Disable buflimit workaround by default. The corresponding bug in OpenSSH has been fixed in 2007 (cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365541#37), so this shouldn't be needed anymore. --- sshfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sshfs.c') diff --git a/sshfs.c b/sshfs.c index b9602cb..ad0ed06 100644 --- a/sshfs.c +++ b/sshfs.c @@ -3584,7 +3584,7 @@ static void usage(const char *progname) " [no]rename fix renaming to existing file (default: off)\n" " [no]renamexdev fix moving across filesystems (default: off)\n" " [no]truncate fix truncate for old servers (default: off)\n" -" [no]buflimit fix buffer fillup bug in server (default: on)\n" +" [no]buflimit fix buffer fillup bug in server (default: off)\n" " [no]fstat always use stat() instead of fstat() (default: off)\n" " [no]createmode always pass mode 0 to create (default: off)\n" " -o idmap=TYPE user/group ID mapping (default: " IDMAP_DEFAULT ")\n" @@ -4142,7 +4142,7 @@ int main(int argc, char *argv[]) #endif sshfs.renamexdev_workaround = 0; sshfs.truncate_workaround = 0; - sshfs.buflimit_workaround = 1; + sshfs.buflimit_workaround = 0; sshfs.createmode_workaround = 0; sshfs.ssh_ver = 2; sshfs.progname = argv[0]; -- cgit v1.2.3