4.83.2 - HTTPServerErrorHandler: Improve Error Handling for HTTPParserError
What's Changed
HTTPServerErrorHandler: Improve Error Handling for HTTPParserError by @fred-sch in #2922
Invalid HTTP previously just closed the connection, but did not actually handle the errors.
This PR uses an adapted version of https://github.com/apple/swift-nio/blob/main/Sources/NIOHTTP1/HTTPServerProtocolErrorHandler.swift to properly catch exceptions if they occur.
New Contributor
Reviewers
Thanks to the reviewers for their help:
This patch was released by @gwynne
Full Changelog: 4.83.1...4.83.2