mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-28 10:51:57 +08:00
Feat: cancel archive action / request with context
This commit is contained in:
@@ -64,6 +64,7 @@ func (handler Handler) Get(ctx context.Context, path string) (response.RSCloser,
|
||||
"GET",
|
||||
downloadURL,
|
||||
nil,
|
||||
request.WithContext(ctx),
|
||||
).GetRSCloser()
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user