Files
swift-nio-http2/Tests
Cory Benfield 22757ac305 Content-Length errors shouldn't crash (#371)
Motivation:

When we added new content length verification and new errors, we didn't
update the places that were handling the old error. This code updates
that logic to ensure that we don't crash.

Modifications:

Add new internal protocol to which the content length validation errors
conform.
Catch that protocol instead.

Result:

No crashes on invalid content-length
2023-02-06 02:20:36 -08:00
..