netty5/codec-http2/src
Norman Maurer b769ec0934 Reduce overhead of cancel flowcontrolled writes.
Motivation:

When we cancel the flowcontrolled writes we did create a new StreamException for each write that was enqueued. Creating Exceptions is very expensive due of filling the stacktrace.

Modifications:

Only create the StreamException once and reuse the same for all the flowcontrolled writes (per stream).

Result:

Less expensive to cancel flowcontrolled writes.
2018-01-24 19:42:13 +01:00
..
main/java/io/netty/handler/codec/http2 Reduce overhead of cancel flowcontrolled writes. 2018-01-24 19:42:13 +01:00
test Http2FrameCodec WindowUpdate bug 2018-01-22 11:17:56 -08:00