-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force conn.Close() after MaxRuntime in handler.go (#362)
* Force conn.Close() after MaxRuntime in handler.go * Pass the context with timeout to upload.Do and download.Do * Remove the reference to the timeout in the warning message * Cancel context in a defer rather than waiting for timeout
- Loading branch information
1 parent
6aee5cc
commit 4f67067
Showing
1 changed file
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters