netty5/codec-http2/src
Eric Anderson c6ad9338b3 Avoid infinite loop in HTTP/2 distributor toString()
Motivation:

Although effectively unused, the toString() of
WeightedFairQueueByteDistributor.State is useful for debugging. It
accidentally had an infinite loop, as it would recurse infinitely
between a parent and its child, which makes it less useful for
debugging.

Modifications:

Prune the infinite loop by using the parent's streamId instead of the
parent's toString().

Result:

Faster, less stack-overflowing toString()
2017-04-22 08:16:41 -07:00
..
main/java/io/netty/handler/codec/http2 Avoid infinite loop in HTTP/2 distributor toString() 2017-04-22 08:16:41 -07:00
test fix the typos 2017-04-20 04:56:09 +02:00