-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
httpd: fix three small null-related bugs in accessing active transfer…
… fields Motivation: Patch 9258 introduced a UserInfo object and also somewhat restructured TransferObserverV1. In so doing it introduced two minor bugs. The first was an erroneous suppression of a condition preventing the addition of nulls to an argument list in the creation of the ascii context info. The latter has to do with the handling of exceptions thrown by the Subjects static methods (this was observed to occur using anonymous dccp). Also, a method called by the webadmin version of this service also neglected to check for a null value. Modification: 1. Restore the condition check (mover == null) for the ascii context info. 2. Provide for the handling of NoSuchElement and IllegalArgument exceptions 3. Handle the null value for bytesTransferred. Result: Errors are now handled gracefully rather than causing Wicket to crash or a log full of stack traces. Target: master Require-notes: no Require-book: no Acked-by: Gerd
- Loading branch information
alrossi
committed
May 24, 2016
1 parent
4236e4a
commit c39133d
Showing
4 changed files
with
72 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
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
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
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