netty5/codec-http2/src
Scott Mitchell 7a7160f176 HTTP/2 Buffer Leak if UTF8 Conversion Fails
Motivation:
Http2CodecUtil uses ByteBufUtil.writeUtf8 but does not account for it
throwing an exception. If an exception is thrown because the format is
not valid UTF16 encoded UTF8 then the buffer will leak.

Modifications:
- Make sure the buffer is released if an exception is thrown
- Ensure call sites of the Http2CodecUtil.toByteBuf can tolerate and
  exception being thrown

Result:
No leak if exception data can not be converted to UTF8.
2016-02-02 11:22:17 -08:00
..
main/java/io/netty/handler/codec/http2 HTTP/2 Buffer Leak if UTF8 Conversion Fails 2016-02-02 11:22:17 -08:00
test HTTP/2 Don't Flow Control Iniital Headers 2016-02-01 13:37:43 -08:00