Skip to content

[FEATURE] Robust Error Handling for HTTP2 #105

Description

@gimlet2

Feature Description

Implement robust error handling for HTTP2 streams and connections, including correct error codes and resets.

Problem/Use Case

Ensures stability, interoperability, and compliance with protocol requirements.

Proposed Solution

  • Support RST_STREAM, GOAWAY frames
  • Implement error codes as defined in RFC 7540
  • Graceful shutdown and stream resets

Code Example

server.sendGoAway(lastStreamId = 5, errorCode = "NO_ERROR")

Alternatives Considered

  • Minimal error handling (not compliant)

Additional Context

  • Would this be a breaking change? No
  • Priority: High
  • Related to HTTP2 support #3 HTTP2 support

Related Issues/PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions