Skip to content

Typo in throw tag :CONNECTION_EXHAUSED causes UncaughtThrowError #2

@phluid61

Description

@phluid61

File: lib/ruby-h2/http-agent.rb:1022

Line 1022 throws :CONNECTION_EXHAUSED (missing T), but the catch on line 1011 expects :CONNECTION_EXHAUSTED.

When the connection-level flow-control window is exhausted while draining the window queue, this raises UncaughtThrowError instead of cleanly breaking out of the loop, crashing the connection handler.

Fix: change :CONNECTION_EXHAUSED to :CONNECTION_EXHAUSTED.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions