Repository navigation
fix(web): preserve origin encoding and H3 overload semantics - #48
Merged
Merged
Conversation
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The functional changes are focused and comprehensively tested; only a minor documentation grammar correction remains.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Preserves encoded cover responses and applies correct HTTP/3 overload semantics.
Changes:
- Disables automatic compression for default cover transports.
- Uses
H3_EXCESSIVE_LOADfor H3 admission rejection. - Adds protocol-wide regression coverage and documentation.
| File | Description |
|---|---|
internal/tunnel/web_limits.go |
Corrects H3 overload error code. |
internal/tunnel/web_h3_admission_error_test.go |
Tests admission rejection and recovery. |
internal/tunnel/web_cover_representation_test.go |
Tests representation preservation across H1–H3. |
internal/cover/representation_test.go |
Tests default and custom transport compression policies. |
internal/cover/public_origin.go |
Documents custom transport behavior. |
internal/cover/handler.go |
Disables default automatic compression. |
docs/WEB_COVER.md |
Documents overload and encoding behavior. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.

Changes
Validation
make checkandmake racepassed; check includes 49 Python release-contract tests.Scope
Functional website compatibility and overload semantics only. No claim of browser equivalence or passive-classification superiority, no restart of the canceled capture campaign, no remote deployment, and no new release/tag. The published v1.0.1 binary is unchanged.
Final publication verification
Squash-merged into
mainasc4ce94dea7d1ac7a14d4f5b176c12e4fedfe2aebat 2026-10-02 23:36:14 UTC. The final PR head and merged main share tree0349c5e2c0791eab20a89a9260d988f99956613a; main's sole parent is the guarded base556f9948d48ab64b28529ae5eb81d26abf737792.