Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ftp: Fix race conditions caused by message reordering
Since DoorTransferFinished and GftpTransferStarted take different routes, it is possible for these messages to be delivered out of order. As a result the FTP door produces a 226 reply earlier than is allowed. This patch introduces an abstract base class for asynchronous redirected transfers. That class deals with out of order notifications. As a side effect, a small pause during transfer abortion has been removed. The patch also replaces several 426 replies with 451. 451 is for internal errors while 426 is for client initiated transfer abort. Target: trunk Require-notes: yes Require-book: no Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> Patch: http://rb.dcache.org/r/6322/
- Loading branch information
Showing
3 changed files
with
240 additions
and
128 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
Oops, something went wrong.