forked from netty/netty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DefaultHeaders#valueIterator to support removal (netty#9063)
Motivation: While iterating values it is often desirable to be able to remove individual entries. The existing mechanism to do this involves removal of all entries and conditional re-insertion which is heavy weight in order to remove a single value. Modifications: - DefaultHeaders$ValueIterator supports removal Result: It is possible to remove entries while iterating the values in DefaultHeaders.
- Loading branch information
1 parent
9ed41db
commit 1d9090a
Showing
2 changed files
with
56 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
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