Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finagle-core: make broadcast context keys case insensitive
Problem: When marshalling context keys over http keys, the id is marshalled into the http header which is canonicalized. For keys with non-lowercase letters, this can break when unmarshalling the headers. i.e `com.myKey -> Finagle-Ctx-Com.mykey` Solution / Result: Lets make the keys case insensitive during lookups. This change will sit behind a toggle that will be at 100% since this will be backwards compatible (unit tests). The toggle will act as a "kill switch" that we can trigger at runtime in case anything goes wrong JIRA Issues: CSL-10942 Differential Revision: https://phabricator.twitter.biz/D665209
- Loading branch information
1 parent
6611a64
commit 69c2909
Showing
5 changed files
with
190 additions
and
21 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
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