Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pool: http-mover refactor file release on channel close code
Motivation: There are a few ways in which a channel can close while transfers are underway. There is code in each case that handles closing all the files currently being transferred. This code is largely copy-n-pasted, with some minor changes, which makes the code non-DRY. This patch is in preparation for a subsequent patch that distinguishes between a failed upload because the the client disconnected and a failed upload because the connection was idle for too long. Modification: Handle file releasing in a single place. Result: No user- or admin observable changes. Target: master Requires-notes: no Requires-book: no Patch: https://rb.dcache.org/r/12471/ Acked-by: Tigran Mkrtchyan
- Loading branch information
1 parent
6716389
commit cda8dc2
Showing
1 changed file
with
47 additions
and
15 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