mirror of
https://github.com/rclone/rclone.git
synced 2025-01-24 12:56:36 +02:00
985011e73b
The go-ntlmssp NTLM negotiator has to try various authentication methods. Intermediate responses from Sharepoint have status code 401, only the final one is different. When rclone runs a large operation in parallel goroutines according to --checkers or --transfers, one of threads can receive intermediate 401 response targeted for another one and returns the 401 authentication error to the user. This patch fixes that.