netty5/codec-http2/src
Jakob Buchgraber d5963e069d Remove Frame class from DefaultHttp2RemoteFlowController. Fixes #3488
Motivation:

For every write of a flow controlled frame (HEADERS, DATA) we are allocating
a Frame object that is not necessary anymore as it does not maintain any
state, besides the payload.

Modifications:

Remove the Frame class and directly add the payload to the pending write queue.

Result:

One few object allocation per write of a flow controlled frame.
2015-03-13 15:54:40 -07:00
..
main/java/io/netty/handler/codec/http2 Remove Frame class from DefaultHttp2RemoteFlowController. Fixes #3488 2015-03-13 15:54:40 -07:00
test/java/io/netty/handler/codec/http2 Fix premature cancelation of pending frames in HTTP2 Flow Control. 2015-03-10 12:35:13 -07:00