Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make use of NIOFileHandle safe * Fix sendable closure warnings in FileIO * Make BodyStreamWriter Sendable * Fix Sendable warnings in HTTPServerHandler * Fix Sendable warnings in HTTPServerRequestDecoder * Fix Sendable warnings in ChannelResponseBodyStream * Fix Sendable warnings in HTTPServerUpgradeHandler * Fix warnings in Tests * Fix some test warnings * Make Request+BodyStream sendable * Use LoopBound instead of Locks as we know we're on an EventLoop * Fix some test warnings * Fix some test warnings * Fix the last warnings in the tests * Remove the unchecked Sendable on request and response * Changes from code review * Reduce inits of NIOLoopBound * Remove unnecessary checks on NIOLoopBound * Remove reminders * Revert "Remove unnecessary checks on NIOLoopBound" This reverts commit de0d52f. * Improve routes * Remove unnecessary checks on NIOLoopBound * Show error * Compiles but failing test * Don't make stuff sendable when we don't need to be * Fix code review comments * Fix a couple of logic bugs in response * Fix some outdated comment docs * PR Review * HTTPServerErrorHandler: Improve Error Handling for HTTPParserError (#2922) * fix: HTTPServerErrorHandler catch HTTPParserError Refs: #2921 * add reference to https://github.com/apple/swift-nio/blob/00341c92770e0a7bebdc5fda783f08765eb3ff56/Sources/NIOHTTP1/HTTPServerProtocolErrorHandler.swift * set hasUnterminatedResponse in write * error-handler needs to be before response encoder * add test for invalid http * rephrase and improve comments slightly * remove http1 error handler from http2 pipeline --------- Co-authored-by: Tim Condon <0xTim@users.noreply.github.com> Co-authored-by: Gwynne Raskind <gwynne@vapor.codes> * Fix mismatching manifests * PR feedback * Trigger CodeQL * Trip CI --------- Co-authored-by: Gwynne Raskind <gwynne@vapor.codes> Co-authored-by: fred-sch <73998525+fred-sch@users.noreply.github.com>
- Loading branch information
1 parent
1f2b44b
commit 446b877
Showing
23 changed files
with
271 additions
and
197 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
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
Oops, something went wrong.