Fix: user storage might be returned twice when OneDrive uploading canceled in WebDAV requests

This commit is contained in:
HFO4
2020-12-01 19:22:52 +08:00
parent 33f8419999
commit 7279be2924
6 changed files with 88 additions and 6 deletions

View File

@@ -33,6 +33,10 @@ const (
IgnoreConflictCtx
// RetryCtx 失败重试次数
RetryCtx
// ForceUsePublicEndpoint 强制使用公网 Endpoint
ForceUsePublicEndpoint
// ForceUsePublicEndpointCtx 强制使用公网 Endpoint
ForceUsePublicEndpointCtx
// CancelFuncCtx Context 取消函數
CancelFuncCtx
// ValidateCapacityOnceCtx 限定归还容量的操作只執行一次
ValidateCapacityOnceCtx
)