master
Commits on Dec 3, 2021
Commits on Dec 1, 2021
-
lib/rest: process HTML entities within XML
MEGAcmd currently includes escaped HTML4 entites in its XML messages. This behavior deviates from the XML standard, but currently it prevents rclone from being able to use the remote.
-
-
Commits on Nov 27, 2021
-
azureblob: fix crash with SAS URL and no container - fixes #5820
Before this change attempting NewObject on a SAS URL's root would crash the Azure SDK. This change detects that using the code from this previous fix f7404f5 azureblob: fix crash when listing outside a SAS URL's root - fixes #4851 And returns not object not found instead. It also prevents things being uploaded to the root of the SAS URL which also crashes the Azure SDK.
Commits on Nov 25, 2021
-
oauthutil: fix crash when webrowser requests /robots.txt - fixes #5836
Before this change the oauth webserver would crash if it received a request to /robots.txt. This patch makes it ignore (with 404 error) any paths it isn't expecting.
-
-
Commits on Nov 24, 2021
-
local: fix hash invalidation which caused errors with local crypt mount
Before this fix if a file was updated, but to the same length and timestamp then the local backend would return the wrong (cached) hashes for the object. This happens regularly on a crypted local disk mount when the VFS thinks files have been changed but actually their contents are identical to that written previously. This is because when files are uploaded their nonce changes so the contents of the file changes but the timestamp and size remain the same because the file didn't actually change. This causes errors like this: ERROR: file: Failed to copy: corrupted on transfer: md5 crypted hash differ "X" vs "Y" This turned out to be because the local backend wasn't clearing its cache of hashes when the file was updated. This fix clears the hash cache for Update and Remove. It also puts a src and destination in the crypt message to make future debugging easier. Fixes #4031
Commits on Nov 23, 2021
-
-
docs: add a note about the B2 download_url format
Currently the B2 docs don't specify which format the download_url setting should have, and if you input it wrong, there is nothing in the verbose logs or anywhere else that can let you know that.
-
Commits on Nov 22, 2021
-
s3: Add Wasabi AP Northeast 2 endpoint info
* Wasabi starts to provide AP Northeast 2 (Osaka) endpoint, so add it to the list * Rename ap-northeast-1 as "AP Northeast 1 (Tokyo)" from "AP Northeast" Signed-off-by: lindwurm <[email protected]>
-
sftp: fix timeout on hashing large files by sending keepalives
Before this fix the SFTP sessions could timeout when doing hashes if they took longer than the --timeout parameter. This patch sends keepalive packets every minute while a shell command is running to keep the connection open. See: https://forum.rclone.org/t/rclone-check-over-sftp-failure-to-calculate-md5-hash-for-large-files/27487
-
sftp: refactor so we only have one way of running remote commands
This also returns errors from running ssh Hash commands which we didn't do before.
Commits on Nov 21, 2021
Commits on Nov 18, 2021
-
azureblob: raise --azureblob-upload-concurrency to 16 by default
After speed testing it was discovered that upload speed goes up pretty much linearly with upload concurrency. This patch changes the default from 4 to 16 which means that rclone will use 16 * 4M = 64M per transfer which is OK even for low memory devices. This adds a note that performance may be increased by increasing upload concurrency. See: https://forum.rclone.org/t/performance-of-rclone-vs-azcopy/27437/9
-
Commits on Nov 17, 2021
-
-
fshttp: add prometheus metrics for HTTP status code
This patch adds rclone_http_status_code counter vector labeled by * host, * method, * code. It allows to see HTTP errors, backoffs etc. The Metrics struct is designed for extensibility. Adding new metrics is a matter of adding them to Metrics struct and including them in the response handling. This feature has been discussed in the forum [1]. [1] https://forum.rclone.org/t/prometheus-metrics/14484