netty5/codec-http2/src/main/java/io/netty/handler/codec/http2
zhangduo e949dcd94f Allow numBytes == 0 when calling Http2LocalFlowController.consumeBytes.
Motivation:

Sometimes people use a data frame with length 0 to end a stream(such as jetty http2-server). So it is possible that data.readableBytes and padding are all 0 for a data frame, and cause an IllegalArgumentException when calling flowController.consumeBytes.

Modifications:

Return false when numBytes == 0 instead of throwing IllegalArgumentException.

Result:

Fix IllegalArgumentException.
2015-07-09 08:43:52 -07:00
..
CompressorHttp2ConnectionEncoder.java Optimizing user-defined stream properties. 2015-04-23 12:41:14 -07:00
DecoratingHttp2ConnectionDecoder.java Cleaning up the initialization of Http2ConnectionHandler 2015-03-30 11:23:02 -07:00
DecoratingHttp2ConnectionEncoder.java Cleaning up the initialization of Http2ConnectionHandler 2015-03-30 11:23:02 -07:00
DecoratingHttp2FrameWriter.java Cleaning up the initialization of Http2ConnectionHandler 2015-03-30 11:23:02 -07:00
DefaultHttp2Connection.java [#3724] HTTP/2 Headers END_STREAM results in RST_STREAM 2015-05-07 08:31:05 -07:00
DefaultHttp2ConnectionDecoder.java Allow numBytes == 0 when calling Http2LocalFlowController.consumeBytes. 2015-07-09 08:43:52 -07:00
DefaultHttp2ConnectionEncoder.java Allow servers to specify ENABLE_PUSH to 0 explicitly 2015-07-07 10:00:58 -07:00
DefaultHttp2FrameReader.java HTTP/2 limit header accumulated size 2015-07-07 13:25:03 -07:00
DefaultHttp2FrameWriter.java Change Http2Settings to use char keys. 2015-04-10 11:50:24 -07:00
DefaultHttp2Headers.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
DefaultHttp2HeadersDecoder.java HTTP/2 limit header accumulated size 2015-07-07 13:25:03 -07:00
DefaultHttp2HeadersEncoder.java ByteString arrayOffset method 2015-04-24 18:54:01 -07:00
DefaultHttp2HeaderTableListSize.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
DefaultHttp2LocalFlowController.java Allow numBytes == 0 when calling Http2LocalFlowController.consumeBytes. 2015-07-09 08:43:52 -07:00
DefaultHttp2RemoteFlowController.java Make the flow-controllers write fewer, fatter frames to improve throughput. 2015-06-19 15:20:31 -07:00
DelegatingDecompressorFrameListener.java Have Http2LocalFlowController.consumeBytes indicate whether a WINDOW_UPDATE was written 2015-05-04 13:22:18 -07:00
EmptyHttp2Headers.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
Http2ClientUpgradeCodec.java Do not use hard-coded handler names in HTTP/2 2015-06-10 11:46:02 +09:00
Http2CodecUtil.java Porting BufferingHttp2ConnectionEncoder from gRPC 2015-06-05 05:51:16 -07:00
Http2Connection.java [#3724] HTTP/2 Headers END_STREAM results in RST_STREAM 2015-05-07 08:31:05 -07:00
Http2ConnectionAdapter.java Include error code and message in GOAWAY events. 2015-03-31 09:18:26 -07:00
Http2ConnectionDecoder.java Cleaning up the initialization of Http2ConnectionHandler 2015-03-30 11:23:02 -07:00
Http2ConnectionEncoder.java Cleaning up the initialization of Http2ConnectionHandler 2015-03-30 11:23:02 -07:00
Http2ConnectionHandler.java Proper shutdown of HTTP2 encoder when channelInactive 2015-07-09 07:36:42 -07:00
Http2DataWriter.java Http2DefaultFrameWriter direct write instead of copy 2015-02-06 11:56:14 -08:00
Http2Error.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2EventAdapter.java Include error code and message in GOAWAY events. 2015-03-31 09:18:26 -07:00
Http2Exception.java Http/2 Priority on CLOSED stream 2015-03-28 19:10:43 -07:00
Http2Flags.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2FlowController.java Optimizing user-defined stream properties. 2015-04-23 12:41:14 -07:00
Http2FrameAdapter.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2FrameListener.java Ignore frames for streams that may have previously existed. 2015-04-21 20:47:01 -07:00
Http2FrameListenerDecorator.java HTTP/2 Decoder reduce preface conditional checks 2015-03-28 18:52:35 -07:00
Http2FrameLogger.java Using public LogLevel for HTTP/2 frame logging. 2015-03-17 15:10:35 -07:00
Http2FrameReader.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2FrameSizePolicy.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2FrameTypes.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2FrameWriter.java Http2DefaultFrameWriter direct write instead of copy 2015-02-06 11:56:14 -08:00
Http2Headers.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
Http2HeadersDecoder.java HTTP/2 limit header accumulated size 2015-07-07 13:25:03 -07:00
Http2HeadersEncoder.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
Http2HeaderTable.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2InboundFrameLogger.java HTTP/2 Decoder reduce preface conditional checks 2015-03-28 18:52:35 -07:00
Http2LifecycleManager.java HTTP/2 Sending a GO_AWAY with an error code should close conneciton 2015-04-29 11:16:21 -07:00
Http2LocalFlowController.java Have Http2LocalFlowController.consumeBytes indicate whether a WINDOW_UPDATE was written 2015-05-04 13:22:18 -07:00
Http2NoMoreStreamIdsException.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2OutboundFrameLogger.java Fixing logging of ping acks in Http2OutboundFrameLogger 2015-05-20 08:59:17 -07:00
Http2PromisedRequestVerifier.java Http2 draft 17 2015-03-25 09:02:15 -07:00
Http2RemoteFlowController.java Make the flow-controllers write fewer, fatter frames to improve throughput. 2015-06-19 15:20:31 -07:00
Http2SecurityUtil.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2ServerUpgradeCodec.java Lazily instantiate HttpServerUpgradeHandler.UpgradeCodec 2015-06-10 12:06:27 +09:00
Http2Settings.java Change Http2Settings to use char keys. 2015-04-10 11:50:24 -07:00
Http2Stream.java Optimizing user-defined stream properties. 2015-04-23 12:41:14 -07:00
Http2StreamVisitor.java Removing direct access to HTTP/2 child streams. 2015-04-10 08:52:26 -07:00
HttpToHttp2ConnectionHandler.java Cleaning up the initialization of Http2ConnectionHandler 2015-03-30 11:23:02 -07:00
HttpUtil.java ByteString arrayOffset method 2015-04-24 18:54:01 -07:00
InboundHttp2ToHttpAdapter.java Include error code and message in GOAWAY events. 2015-03-31 09:18:26 -07:00
InboundHttp2ToHttpPriorityAdapter.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
package-info.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
StreamBufferingEncoder.java Proper shutdown of HTTP2 encoder when channelInactive 2015-07-09 07:36:42 -07:00