Repository navigation
Description
Problem
#68's in-repo work is done (#82, #83, #85, #88, #91). async-http and protocol-http2 stay patch-pinned, and some guarded coupling to async remains, until upstream adds supported hooks or fixes. The investigation drafted the asks below in #68's plan. None has been filed or posted upstream; this issue tracks them so they aren't lost now that #68 is closed.
Draft asks
- U1 async (discussion first): document and test that
Task#finish!clears the fiber and then calls#consume, and thatNode#consumeruns on each ancestor as descendants are removed. A larger alternative is a public "subtree finished" signal;Task#wait_allsnapshots children and fails fast. - U2 async-http (PRs):
- (a)
read_in_backgroundbuilds the reader withTask.newand publishes it beforerun. - (b)
Output#startassigns@taskbefore running and exposesattr :task. - (c) A stream-class hook for
Server#accept_streamandClient#create_response. - (d) Issue, repro first: one failed handler makes
Server#each's barrier cancel sibling streams. This comes from reading 0.105.0 and is not reproduced. - (e)
send_bodyon a closed stream should close the body instead of starting output, andStream#lengthshould get a reader. Support Don't request a window update for a closed HTTP/2 stream socketry/async-http#257.
- (a)
- U3 protocol-http2:
- (a) Issue, then PR: enforce receive flow control (RFC 9113 §6.9.1).
- (b) Two-line PR: expand the local window before writing WINDOW_UPDATE.
- (c)
send_goaway(…, last_stream_id:).
- U4 io-stream:
- (a) Ask for a release of Normalize abrupt TLS EOF during non-blocking reads socketry/io-stream#17, which adds the missing
raisefor non-EOFSSLErrors. - (b) Issue: an opt-out for
fill_read_buffer's flush-on-read, which blocks readers behind a stuck writer.
- (a) Ask for a release of Normalize abrupt TLS EOF during non-blocking reads socketry/io-stream#17, which adds the missing
- U5 protocol-http1 (PR on top of build: test fresh dependency resolution and loosen Async/Falcon constraints #65): a bodyless request head without
content-length: 0(RFC 9110 §8.6).
docs/development.md's patch-pin table names which ask unblocks each remaining pin (U2 for async-http, U3 for protocol-http2). The daily pins-lifted canary (.github/workflows/canary.yml, #91) reports when a newer upstream release breaks or fixes a guarded contract.
Acceptance
- Decide per ask whether to file it, and as an issue, PR or discussion with the maintainer.
- For each filed ask, link the upstream issue or PR here.
- When an upstream change lands and is released, loosen or remove the matching pin, guard or workaround, and update the patch-pin table.
Filing anything upstream needs Jim's explicit go-ahead per ask.
Written on behalf of jimeh by claude-opus-5-5 using Claude Code via T3 Code.
Activity