apple / apple/swift-nio-http2

Produce a better error when sending HEADERS on a quiesced connection

Open
#349 0 comments 0 reactions 0 assignees View on GitHub
kind/bug
Dominant language
Swift
Stars
503
Forks
103
Avg merge
18h 8m
Merged PRs (30d)
4

Description

If a connection is quiesced remotely (by receiving a GOAWAY frame) and we attempt to open a new stream via a HEADERS frame, we receive a `NoSuchStream` error. This isn't a great error message: it's very hard to understand what has gone wrong. We should emit something more useful.

Contributor guide

Open the contributing guide

Research direction

Trace the HEADERS handling path for a connection that has received GOAWAY, focusing on where the NoSuchStream error is produced. Define the work as replacing that result with an error that explains the connection is quiesced and verify the behavior with the relevant HTTP/2 tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
networking
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.