-
Notifications
You must be signed in to change notification settings - Fork 420
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update NIO version to 2.22.0 and NIOHTTP2 to 1.14.1. (#954)
Motivation: SwiftNIO 2.21.0 inlcudes a fast-path for writing `Data` into a `ByteBuffer`, and SwiftNIO HTTP/2 1.14.0 contains a `reserveCapacity` for `HPACKHeaders`. Modifications: - Replace a few occurrences of `writeBytes` with the new `writeContiguousBytes` instead. - Reserve the capacity upfront when constructing request headers - Stop using a deprecated function Result: - Perf win when serializing and writing protobuf messages into a buffer
- Loading branch information
Showing
6 changed files
with
29 additions
and
25 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
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