netty5/codec-http2/src
Scott Mitchell 4145fae919 HTTP/2 HPACK Decoder VarInt Improvement
Motivation:
HTTP/2 Decoder#decodeULE128 current will tolerate more bytes than necessary when attempted to detect overflow. The usage of this method also currently requires an additional overflow conditional.

Modifications:
- Integrate the first byte into Decoder#decodeULE128 which allows us to detect overflow reliably and avoid overflow checks outside of this method.

Result:
Less conditionals and earlier overflow detection in Decoder#decodeULE128
2016-09-22 00:01:54 -07:00
..
main/java/io/netty/handler/codec/http2 HTTP/2 HPACK Decoder VarInt Improvement 2016-09-22 00:01:54 -07:00
test HTTP/2 HPACK Decoder VarInt Improvement 2016-09-22 00:01:54 -07:00