netty5/codec-http2/src
Trustin Lee 5b46cf25c1 Fulfill the write promise of empty HTTP/2 DATA frames sooner
Motivation:

DefaultHttp2ConnectionEncoder.FlowControlledData.write() does not
complete the write promise of empty HTTP/2 DATA frames until either a
non-DATA frame, a non-empty DATA frame or a DATA frame with endOfStream
set. This makes the write promise of the empty DATA frame is notified
much later than it could be.

Modifications:

- Notify the write promise of the empty DATA frames immediately is the
  queue contains empty DATA frames only

Result:

The write promise of an empty DATA frame is notified sooner.
2016-08-26 08:45:09 +09:00
..
main/java/io/netty/handler/codec/http2 Fulfill the write promise of empty HTTP/2 DATA frames sooner 2016-08-26 08:45:09 +09:00
test HTTP/2 Hpack Encoder Cleanup 2016-08-25 09:08:46 -07:00