mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-24 04:38:00 +00:00
Motivation: We would previously error if clients emitted a GOAWAY frame that had a last stream ID set to the max value. This is a bit unnecessary, not least given that we emitted those frames ourselves! In fact, this error would mask real server protocol errors if we hit them. Modifications: - Allowed max stream ID as the last stream ID. - Wrote a test to verify this. Result: Fewer unnecessary protocol errors.