rclone/backend/smb
Nick Craig-Wood 0731de6a51 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/
2023-10-09 12:10:55 +01:00
..
connpool.go smb: use atomic types 2023-08-22 12:52:13 +01:00
smb_test.go smb: backend to support SMB - fixes #2042 2022-09-30 16:10:57 +01:00
smb.go smb: fix "unverified packet returned" error when using multithread copy 2023-10-09 12:10:55 +01:00