swerver: update to v0.1.0-alpha.8 — H2 flow control, fair scheduling, header fixes#745
Open
justinGrosvenor wants to merge 5 commits into
Open
swerver: update to v0.1.0-alpha.8 — H2 flow control, fair scheduling, header fixes#745justinGrosvenor wants to merge 5 commits into
justinGrosvenor wants to merge 5 commits into
Conversation
The upload endpoint now uses postDiscard (body discard mode) — bytes are counted but never buffered. The 22MB body_buffer_size and body_buffer_count entries were dead weight.
- Bump to alpha.7 (H2 flow control fix, postDiscard body policy) - Re-enable upload test: postDiscard counts bytes without buffering, so 20MB uploads use ~0 body memory instead of 20MB per connection - Add json-tls test: third swerver process on :8081 with TLS for HTTP/1.1-over-TLS JSON endpoint validation - Dockerfile: add zlib1g-dev, expose port 8081, copy TLS H1 config
Contributor
Author
|
/benchmark -f swerver |
Contributor
|
👋 |
Contributor
Benchmark ResultsFramework:
Full log |
H2 send-side flow control, per-stream fair scheduling, stream-level error handling for oversized headers, /blob preencoding. Eliminates 12.8% error rate on many-headers test, +57% on large-response.
Contributor
Author
|
/benchmark -f swerver |
Contributor
|
👋 |
Contributor
Benchmark ResultsFramework:
Full log |
Fixes body accumulation overconsume bug that caused upload benchmarks (multiple POSTs per keep-alive connection) to stall after the first request.
Contributor
Author
|
/benchmark -f swerver |
Contributor
|
👋 |
Contributor
Benchmark ResultsFramework:
Full log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v0.1.0-alpha.8tagpostDiscardbody policy, json-tls test/blobpreencodingKey improvements in alpha.8
RST_STREAMinstead of connection-killingGOAWAY/blobadded to H2 pre-encoded cacheConfig
No config changes needed — all improvements are internal to the H2 protocol stack.
Test plan
validate.sh swerverpasses all 11 subscribed testsv0.1.0-alpha.8tag:8081and returns correct JSON