Skip to content

Close HTTP/2 request queue - #234

Merged
samuel-williams-shopify merged 1 commit into
mainfrom
close-http2-request-queue
Jul 29, 2026
Merged

Close HTTP/2 request queue#234
samuel-williams-shopify merged 1 commit into
mainfrom
close-http2-request-queue

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

Use Async::Queue#close to stop the HTTP/2 server request loop instead of enqueueing a nil sentinel and discarding the queue reference.

Closing preserves already queued requests, causes the consumer to receive nil once drained, and rejects late producers with Async::Queue::ClosedError.

Includes a focused test for the queue shutdown semantics.

Tests: 242 passed, 3 skipped. RuboCop: 128 files inspected, no offenses.

@samuel-williams-shopify
samuel-williams-shopify merged commit e00ce34 into main Jul 29, 2026
33 of 40 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the close-http2-request-queue branch July 29, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant