mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Motivation: Right now NIO clients will crash in the (admittedly unlikely) event that a HTTP server sends an unsolicited extra response on a connection. This seems pretty unnecessary, and fairly graceless. Modifications: - Replace a forcible pop with an optional one. - Added NIOHTTPDecoderError type. Result: Removed a crash that we definitely don't want.