rclone:fix-smb-writerat

Last commit made on 2023-10-09
Get this branch:
git clone -b fix-smb-writerat https://git.launchpad.net/rclone

Branch merges

Branch information

Name:
fix-smb-writerat
Repository:
lp:rclone

Recent commits

0731de6... by Nick Craig-Wood

smb: fix "unverified packet returned" error when using multithread copy

Before this change, in the WriterAt method we removed the session
while the WriterAt handle was still open.

This meant that in long lived multithread copies the session was
closed which caused the "unverified packet returned" errors.

This fixes the problem by wrapping it in a custom Close to close
remove the session only when the WriterAt handle is closed.

See: https://forum.rclone.org/t/problems-copying-big-files-from-local-to-remote-using-rclone-rc/42169/

a752563... by Nick Craig-Wood

operations: add operations/check to the rc API

Fixes #7015

c12085b... by Nick Craig-Wood

operations: close file in TestUploadFile test so it can be deleted on Windows

3ab9077... by Nick Craig-Wood

googlephotos: implement batcher for uploads - fixes #6920

b94806a... by Nick Craig-Wood

dropbox: factor batcher into lib/batcher

55d10f4... by Nick Craig-Wood

fs: re-implement DumpMode with Bits

This almost 100% backwards compatible. The only difference being that
in the rc options/get output DumpMode will be output as strings
instead of integers. This is a lot more convenient for the user. They
still accept integer inputs though so the fallout from this should be
minimal.

75745fc... by Nick Craig-Wood

fs: create fs.Bits for easy creation of parameters from a bitset of choices

1cc22da... by Nick Craig-Wood

vfs: re-implement CacheMode with fs.Enum

This almost 100% backwards compatible. The only difference being that
in the rc options/get output CacheMode will be output as strings
instead of integers. This is a lot more convenient for the user. They
still accept integer inputs though so the fallout from this should be
minimal.

3092f82... by Nick Craig-Wood

fs: re-implement CutoffMode, LogLevel, TerminalColorMode with Enum

This almost 100% backwards compatible. The only difference being that
in the rc options/get output CutoffMode, LogLevel, TerminalColorMode
will be output as strings instead of integers. This is a lot more
convenient for the user. They still accept integer inputs though so
the fallout from this should be minimal.

60a6ef9... by Nick Craig-Wood

fs: create fs.Enum for easy creation of parameters from a list of choices