Skip to content

Regression to #15612 - does not account for padding in decompressedBytes causing HTTP/2 to fail. #16252

@zekronium

Description

@zekronium

After PR #15612 the decompressor does not increment decompressor.incrementDecompressedBytes(padding); which causes a stream exception when bytes are consumed:

connection.local().flowController().consumeBytes(stream,
listener.onDataRead(targetCtx, stream.id(), buf, padding, false));

io.netty.handler.codec.http2.Http2Exception$StreamException: Attempting to return too many bytes for stream 1. decompressed: 0 decompressedBytes: 107

Adding padding to any of the tests will start to throw exceptions.

Related commits:
9d804c5
34894ac

Related Vert.x Issue:
eclipse-vertx/vert.x#5960

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions