-
Notifications
You must be signed in to change notification settings - Fork 652
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not allocate String to check if HTTP message is keep alive (#402)
Motivation: We can check if a HTTP message is using keep alive without any allocation. Modifications: Directly act on the internal storage of HTTPHeaders to find out if keep alive is used or not. Result: Less allocations
- Loading branch information
1 parent
a6239a9
commit e029ede
Showing
1 changed file
with
10 additions
and
10 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