Skip to content

Stream stacking occurs when H2 processes HTTP2 RST_STREAM frames. #621

Closed
@silence-coding

Description

@silence-coding

@seanmonstar As described in the issue in hyper, I think the size of the slab should be limited to max_concurrent_streams + max_concurrent_reset_streams . When the size of the slab exceeds the upper limit, the recv_frame method should discard the received Headers and PushPromise frames and send the protocol error to the client.
hyperium/hyper#2877

Drop the Headers and PushPromise frames here and throw a GoAway error.

fn recv_frame(&mut self, frame: Option<Frame>) -> Result<ReceivedFrame, Error> {

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