Skip to content

caddyhttp, reverseproxy: experimental WebTransport passthrough - #7669

Merged
francislavoie merged 50 commits into
caddyserver:masterfrom
tomholford:webtransport-reverse-proxy
Oct 13, 2026
Merged

francislavoie merged 50 commits into
caddyserver:masterfrom
tomholford:webtransport-reverse-proxy

Conversation

@tomholford

@tomholford tomholford commented Apr 23, 2026 •

Copy link
Copy Markdown
Contributor

Depends on #7976 (ListenQUIC options). This PR targets master so
GitHub can open it from the fork; the extra ListenQUIC commit is #7976.

Summary

Experimental WebTransport (draft-ietf-webtrans-http3) reverse-proxy
passthrough. HTTP/3 Extended CONNECT with :protocol=webtransport /
webtransport-h3 is upgraded on the client, re-dialed upstream, and
the two sessions are bridged (bidi streams, uni streams, datagrams).

Opt-in at the server. reverse_proxy auto-detects the CONNECT the
same way it auto-detects WebSocket.

JSON:

"webtransport": {},
"protocols": ["h3"]

Caddyfile:

{
    servers {
        webtransport
    }
}

example.com {
    reverse_proxy https://backend:9443 {
        transport http {
            versions 3
        }
    }
}

Requires HTTP/3 on the server and versions 3 on the proxy transport.
Off by default: HTTP/3 without webtransport is unchanged.

Validation (manual e2e)

Production caddy binary (da759cb3) on :9443 ("webtransport": {}) proxying to a standalone WT echo server on :9444. Real webtransport.Transport client (wt-poke, webtransport-go v0.13.0), not caddytest.Tester. Apple Silicon, loopback.

Case Result
5 streams, 32 B status 200, ~0.87–1.05 ms RTT
moqt-19 + Origin (elee / MediaMTX) protocol "moqt-19", WT-Protocol header, 3/3 streams
50 streams, ~5.5 KB 50/50, ~2.6–5.5 ms
200 streams, 32 B 200/200, ~0.6–4.9 ms
webtransport key removed (hot reload) server didn't enable HTTP/3 datagram support

SIGTERM: Caddy exit 0; echo stopped.

AI-assisted with multiple models and harnesses (Claude Fable, Grok 4.6, Grok 4.7). I applied my judgment and experience while steering the agent, and pushed back or redirected when appropriate.

@CLAassistant

CLAassistant commented Apr 23, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@tomholford
tomholford marked this pull request as ready for review April 23, 2026 03:16
@tomholford

Copy link
Copy Markdown
Contributor Author

@marten-seemann This wouldn't have been possible without your hard work on webtransport-go. If you have the bandwidth, would appreciate your feedback.

Comment thread modules/caddyhttp/standard/imports.go Resolved
@francislavoie francislavoie added this to the 2.x milestone Apr 23, 2026
@francislavoie francislavoie added the feature ⚙️ New feature or request label Apr 23, 2026
@steadytao

steadytao commented Apr 23, 2026 •

Copy link
Copy Markdown
Member

Well this is a bit scary from a blast-radius perspective.

Francis seems to be covering the implementation and maintenance issues well already, my separate concern is the architectural one. This appears to put experimental WebTransport handling directly into Caddy’s core HTTP/3 accept path, not just behind an opt-in reverse-proxy feature.

That makes me think this wants splitting or at least a much stronger justification for why the core H3-path change is low risk. Right now it looks like an experimental feature is being paid for by every HTTP/3 deployment, not only the ones that opt into WebTransport.

@tomholford

Copy link
Copy Markdown
Contributor Author

Thank you for the feedback. Will review and address.

tomholford added a commit to tomholford/caddy that referenced this pull request Apr 23, 2026
The WebTransport proxy path in serveWebTransport duplicated the
dynamic-upstream-fallback block and the {http.reverse_proxy.upstream.*}
replacer-variable block from proxyLoopIteration. Francis flagged this
as a maintenance burden in review of caddyserver#7669.

Extract two helpers:

  * resolveUpstreams(r) returns the candidate upstream set — dynamic
    when configured (with provisioning + fallback-on-error), static
    otherwise. Caller runs the LB selection policy, since the two call
    sites diverge on how selection failure is reported (retry loop vs.
    fast 502 for long-lived WT sessions).

  * setUpstreamReplacerVars(repl, up, di) publishes the seven
    placeholders describing the selected upstream.

Both are used by proxyLoopIteration and serveWebTransport with
identical semantics to the inlined code they replace. No behavior
change for either path.
tomholford added a commit to tomholford/caddy that referenced this pull request Apr 23, 2026
Francis pointed out in review of caddyserver#7669 that importing the whole
modules/caddyhttp/webtransport package solely to pull in one constant
and one interface wasn't worthwhile.

Move both into webtransport_transport.go as unexported identifiers
(webtransportProtocol, webtransportWriter). This removes reverseproxy's
dependency on the caddywt package and clears the way for moving the
echo handler itself out of the production module tree.

No behavior change.
tomholford added a commit to tomholford/caddy that referenced this pull request Apr 23, 2026
Francis pointed out in review of caddyserver#7669 that the echo handler — which
exists solely as a test upstream for the WebTransport reverse-proxy
tests — should not be a full-fledged module registered in every Caddy
binary. Mirroring the mockdns_test.go pattern, move it into a _test.go
file under caddytest/integration/.

The module ID http.handlers.webtransport is now registered only when
the integration test binary is built, which is when
caddytest/integration/webtransport_test.go references it by ID string
in its JSON configs. Production Caddy builds no longer include it.

Changes:
  * New file: caddytest/integration/webtransport_echo_test.go —
    contains the WebTransportEcho handler, its types and interface
    guards, the isWebTransportEchoUpgrade helper, and the unit tests
    that used to live in the deleted package's handler_test.go.
  * Deleted: modules/caddyhttp/webtransport/ (handler.go + handler_test.go).
  * Removed the blank import from modules/caddyhttp/standard/imports.go.

The Protocol const and Writer interface that this package used to
export were inlined into reverseproxy's own files in a preceding
commit, so nothing else depends on the deleted package.
tomholford added a commit to tomholford/caddy that referenced this pull request Apr 23, 2026
… server flag

steadytao raised an architectural concern in review of caddyserver#7669: the PR
put experimental WebTransport handling directly into Caddy's core
HTTP/3 accept path, so every HTTP/3 deployment paid for the feature
whether or not they used it.

Collapse the enablement surface to a single server-level opt-in that
matches Caddy's existing precedent for protocol-level features
(`protocols`, `allow_0rtt`, `enable_full_duplex`), and detect the
request shape at the handler the same way `reverse_proxy` detects a
WebSocket upgrade today — no per-handler config flag.

Core HTTP/3 path changes (modules/caddyhttp/server.go):
  * New `EnableWebTransport bool` field on Server, marked EXPERIMENTAL.
  * buildHTTP3Server now only calls webtransport.ConfigureHTTP3Server
    and sets EnableStreamResetPartialDelivery when the flag is true.
    When false, the constructed http3.Server is bit-for-bit identical
    to the pre-WebTransport implementation.
  * wtServer is constructed only when the flag is true.
  * serveH3AcceptLoop falls back to http3.Server.ServeListener when
    the flag is false — no varint peek, no per-connection dispatch.

Caddyfile wiring (caddyconfig/httpcaddyfile/serveroptions.go):
  * New `enable_webtransport` global server option, modeled on
    `enable_full_duplex`.

Reverse-proxy simplifications (modules/caddyhttp/reverseproxy/):
  * Removed HTTPTransport.WebTransport field and its Provision-time
    exclusivity check (no longer needed; H3 is validated separately).
  * Removed the `webtransport` Caddyfile subdirective under
    `transport http { }` — this neutralizes the prior commit that
    introduced it.
  * Removed Handler.webtransportEnabled cache. ServeHTTP now branches
    on isWebTransportExtendedConnect(r) alone, matching how the
    WebSocket upgrade branch works.
  * serveWebTransport gains fail-fast guards with clear errors when
    the parent server has enable_webtransport=false or when the
    handler's transport does not include HTTP/3.

Tests:
  * Existing TestServer_BuildHTTP3ServerEnablesWebTransport now sets
    EnableWebTransport=true explicitly; new
    TestServer_BuildHTTP3ServerWithoutWebTransport locks in the
    regression guard that flag-off produces the pre-PR http3.Server.
  * Integration tests updated: enable_webtransport: true added to
    every H3 server block; "webtransport": true dropped from the
    reverse_proxy transport JSON (auto-detected now).
  * Caddyfile adapt test for the deleted `webtransport` subdirective
    is removed; `enable_webtransport` is added to the existing
    global_server_options_single adapt test alongside its peers.

No runtime behavior change when enable_webtransport is false. Diff
against master on the core HTTP/3 path is effectively zero in that
configuration.
@tomholford

tomholford commented Apr 23, 2026 •

Copy link
Copy Markdown
Contributor Author

@steadytao Thanks for flagging; I've pushed commits that fully address this:

bb8b3ee (caddyhttp, reverseproxy: gate WebTransport behind enable_webtransport server flag) collapses the enablement surface to a single server-level opt-in that follows the same pattern as protocols, allow_0rtt, and enable_full_duplex. When off — the default — buildHTTP3Server skips webtransport.ConfigureHTTP3Server, skips EnableStreamResetPartialDelivery, and the accept loop falls back to http3.Server.ServeListener unchanged. wtServer is never constructed. Runtime diff against master on the core HTTP/3 path is effectively zero when the flag is off.

Same commit also drops the per-handler transport http { webtransport } directive that was in the earlier revision. WebTransport Extended CONNECT is now detected at the handler the same way a WebSocket upgrade is detected today: by request shape instead of a config flag. Deployments that want WT proxying just do:

{
    servers {
        enable_webtransport
    }
}

example.com {
    reverse_proxy https://backend:9443 {
        transport http {
            versions 3
        }
    }
}

d67425d adds a pair of hermetic benchmarks to quantify the delta:

goos: darwin
goarch: arm64
cpu: Apple M4
BenchmarkBuildHTTP3Server_WebTransportOff-10    ~70 ns/op   392 B/op   3 allocs/op
BenchmarkBuildHTTP3Server_WebTransportOn-10    ~144 ns/op   600 B/op   6 allocs/op

Off is about half the cost on every dimension, which is exactly the work skipped when the flag is false (ConfigureHTTP3Server + EnableStreamResetPartialDelivery). Absolute cost is a one-time per-server setup so either branch is negligible in practice, but the asymmetry locks in a regression guard: a future refactor that accidentally re-enables WT configuration unconditionally would show up as a jump in the Off numbers. A per-stream dispatch benchmark inside webtransport.Server.ServeQUICConn would require a full QUIC setup to measure in isolation — left as follow-up.

The webtransport-go dep is still pulled in at build time. Keeping it out entirely would require build tags, which isn't how Caddy gates features anywhere else from what I can see; but happy to revisit if that's a blocker.

@tomholford

Copy link
Copy Markdown
Contributor Author

@francislavoie @steadytao ready for re-review when you have time. Summary of what landed since the last pass:

  • Francis adding support for php including clean urls and wordpress permalinks #1 (6 goroutines): responded inline — per-session cost driven by webtransport-go's three independent blocking accept APIs × two directions
  • Francis gzip middleware now strips encoding header #2 (duplicated proxy setup): 8a2b853b — extracted resolveUpstreams + setUpstreamReplacerVars, both call sites use them
  • Francis Refactor New() out of all middleware #3 (echo handler as a standard module): 15ca6714 — moved to caddytest/integration/webtransport_echo_test.go following the mockdns_test.go pattern; deleted the production package; dropped from standard imports
  • Francis config: Refactor lexer, parser, controller, dispenser types #4 (caddywt import for one const + one type): 4325098c — inlined both into webtransport_transport.go
  • steadytao (core H3 blast radius): bb8b3eee — collapsed enablement to a single server-level enable_webtransport flag matching the enable_full_duplex / allow_0rtt / protocols precedent. When off (default), the H3 path is bit-for-bit identical to pre-PR. Also dropped the per-handler transport http { webtransport } directive — WT is now auto-detected at the handler the same way WebSocket upgrades are detected. d67425d4 adds a micro-benchmark confirming flag-off is strictly cheaper (~70 ns off vs ~144 ns on per H3 server construction).
  • PR body + appendix updated to reflect the new surface; manual reproduction re-verified end-to-end against the built binary (5 / 50 / 200 concurrent streams, clean SIGTERM) plus a regression check with the flag off confirming WT SETTINGS are not advertised.

@steadytao

Copy link
Copy Markdown
Member

I will allow francis to continue with the review. But from a brief checkover, it seems much better, thank you!

Comment thread modules/caddyhttp/responsewriter.go Resolved
Comment thread modules/caddyhttp/server.go Resolved
@tomholford
tomholford force-pushed the webtransport-reverse-proxy branch from b9ead19 to a9cc909 Compare May 6, 2026 01:38
tomholford added a commit to tomholford/caddy that referenced this pull request May 6, 2026
The WebTransport proxy path in serveWebTransport duplicated the
dynamic-upstream-fallback block and the {http.reverse_proxy.upstream.*}
replacer-variable block from proxyLoopIteration. Francis flagged this
as a maintenance burden in review of caddyserver#7669.

Extract two helpers:

  * resolveUpstreams(r) returns the candidate upstream set — dynamic
    when configured (with provisioning + fallback-on-error), static
    otherwise. Caller runs the LB selection policy, since the two call
    sites diverge on how selection failure is reported (retry loop vs.
    fast 502 for long-lived WT sessions).

  * setUpstreamReplacerVars(repl, up, di) publishes the seven
    placeholders describing the selected upstream.

Both are used by proxyLoopIteration and serveWebTransport with
identical semantics to the inlined code they replace. No behavior
change for either path.
tomholford added a commit to tomholford/caddy that referenced this pull request May 6, 2026
Francis pointed out in review of caddyserver#7669 that importing the whole
modules/caddyhttp/webtransport package solely to pull in one constant
and one interface wasn't worthwhile.

Move both into webtransport_transport.go as unexported identifiers
(webtransportProtocol, webtransportWriter). This removes reverseproxy's
dependency on the caddywt package and clears the way for moving the
echo handler itself out of the production module tree.

No behavior change.
tomholford added a commit to tomholford/caddy that referenced this pull request May 6, 2026
Francis pointed out in review of caddyserver#7669 that the echo handler — which
exists solely as a test upstream for the WebTransport reverse-proxy
tests — should not be a full-fledged module registered in every Caddy
binary. Mirroring the mockdns_test.go pattern, move it into a _test.go
file under caddytest/integration/.

The module ID http.handlers.webtransport is now registered only when
the integration test binary is built, which is when
caddytest/integration/webtransport_test.go references it by ID string
in its JSON configs. Production Caddy builds no longer include it.

Changes:
  * New file: caddytest/integration/webtransport_echo_test.go —
    contains the WebTransportEcho handler, its types and interface
    guards, the isWebTransportEchoUpgrade helper, and the unit tests
    that used to live in the deleted package's handler_test.go.
  * Deleted: modules/caddyhttp/webtransport/ (handler.go + handler_test.go).
  * Removed the blank import from modules/caddyhttp/standard/imports.go.

The Protocol const and Writer interface that this package used to
export were inlined into reverseproxy's own files in a preceding
commit, so nothing else depends on the deleted package.
tomholford added a commit to tomholford/caddy that referenced this pull request May 6, 2026
… server flag

steadytao raised an architectural concern in review of caddyserver#7669: the PR
put experimental WebTransport handling directly into Caddy's core
HTTP/3 accept path, so every HTTP/3 deployment paid for the feature
whether or not they used it.

Collapse the enablement surface to a single server-level opt-in that
matches Caddy's existing precedent for protocol-level features
(`protocols`, `allow_0rtt`, `enable_full_duplex`), and detect the
request shape at the handler the same way `reverse_proxy` detects a
WebSocket upgrade today — no per-handler config flag.

Core HTTP/3 path changes (modules/caddyhttp/server.go):
  * New `EnableWebTransport bool` field on Server, marked EXPERIMENTAL.
  * buildHTTP3Server now only calls webtransport.ConfigureHTTP3Server
    and sets EnableStreamResetPartialDelivery when the flag is true.
    When false, the constructed http3.Server is bit-for-bit identical
    to the pre-WebTransport implementation.
  * wtServer is constructed only when the flag is true.
  * serveH3AcceptLoop falls back to http3.Server.ServeListener when
    the flag is false — no varint peek, no per-connection dispatch.

Caddyfile wiring (caddyconfig/httpcaddyfile/serveroptions.go):
  * New `enable_webtransport` global server option, modeled on
    `enable_full_duplex`.

Reverse-proxy simplifications (modules/caddyhttp/reverseproxy/):
  * Removed HTTPTransport.WebTransport field and its Provision-time
    exclusivity check (no longer needed; H3 is validated separately).
  * Removed the `webtransport` Caddyfile subdirective under
    `transport http { }` — this neutralizes the prior commit that
    introduced it.
  * Removed Handler.webtransportEnabled cache. ServeHTTP now branches
    on isWebTransportExtendedConnect(r) alone, matching how the
    WebSocket upgrade branch works.
  * serveWebTransport gains fail-fast guards with clear errors when
    the parent server has enable_webtransport=false or when the
    handler's transport does not include HTTP/3.

Tests:
  * Existing TestServer_BuildHTTP3ServerEnablesWebTransport now sets
    EnableWebTransport=true explicitly; new
    TestServer_BuildHTTP3ServerWithoutWebTransport locks in the
    regression guard that flag-off produces the pre-PR http3.Server.
  * Integration tests updated: enable_webtransport: true added to
    every H3 server block; "webtransport": true dropped from the
    reverse_proxy transport JSON (auto-detected now).
  * Caddyfile adapt test for the deleted `webtransport` subdirective
    is removed; `enable_webtransport` is added to the existing
    global_server_options_single adapt test alongside its peers.

No runtime behavior change when enable_webtransport is false. Diff
against master on the core HTTP/3 path is effectively zero in that
configuration.
tomholford added a commit to tomholford/caddy that referenced this pull request May 6, 2026
…loop

The earlier caddyserver#7669 revision extracted resolveUpstreams and
setUpstreamReplacerVars to share between the WebTransport path and the
normal proxy path. A later commit collapsed the WebTransport path into
the main proxy loop, so the helpers became single-callers — they no
longer earn their abstraction.

Inline both back into proxyLoopIteration. The dynamic-upstream block
absorbs the CachingUpstreamSource cache-reset logic added by caddyserver#7662,
which was preserved through the rebase.

No behavior change.
@tomholford

Copy link
Copy Markdown
Contributor Author

@WeidiDeng thanks for the review — addressed all six points. Branch rebased onto current master and force-pushed; commits below.

  • 45606cef — *HTTPTransport assertion replaced with an unexported webTransportTransport interface (webTransportTLSConfig() *tls.Config); both failure modes preserved with distinct messages.
  • a9cc9097 — dropped the nil and self-reference guards in UnwrapResponseWriterAs, and the test that exercised them.
  • 6d3d6654 — inlined resolveUpstreams and setUpstreamReplacerVars back into proxyLoopIteration.
  • 7a481d2f — WebTransportServer doc now covers both disabled paths.
  • 250ea357 — nil-logger guard in runWebTransportPump dropped; precondition documented.
  • 65e4bfd3 — wg.Add(6) + manual Done replaced with wg.Go.

Re-ran the manual e2e from the appendix against a binary built from the new tip:

  • 5 streams, 32 B payload — ~350 µs round-trip each
  • 50 streams, 4 KB random payload — ~5 ms p50
  • 200 concurrent streams, 32 B payload — ~6 ms p90
  • regression with enable_webtransport: false hot-reloaded over the admin API: client sees server didn't enable HTTP/3 datagram support, confirming WT SETTINGS not advertised

@francislavoie francislavoie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking really good to me now, glad we managed to simplify the integration to not mess with existing code too much!

francislavoie pushed a commit to tomholford/caddy that referenced this pull request May 7, 2026
The WebTransport proxy path in serveWebTransport duplicated the
dynamic-upstream-fallback block and the {http.reverse_proxy.upstream.*}
replacer-variable block from proxyLoopIteration. Francis flagged this
as a maintenance burden in review of caddyserver#7669.

Extract two helpers:

  * resolveUpstreams(r) returns the candidate upstream set — dynamic
    when configured (with provisioning + fallback-on-error), static
    otherwise. Caller runs the LB selection policy, since the two call
    sites diverge on how selection failure is reported (retry loop vs.
    fast 502 for long-lived WT sessions).

  * setUpstreamReplacerVars(repl, up, di) publishes the seven
    placeholders describing the selected upstream.

Both are used by proxyLoopIteration and serveWebTransport with
identical semantics to the inlined code they replace. No behavior
change for either path.
francislavoie pushed a commit to tomholford/caddy that referenced this pull request May 7, 2026
Francis pointed out in review of caddyserver#7669 that importing the whole
modules/caddyhttp/webtransport package solely to pull in one constant
and one interface wasn't worthwhile.

Move both into webtransport_transport.go as unexported identifiers
(webtransportProtocol, webtransportWriter). This removes reverseproxy's
dependency on the caddywt package and clears the way for moving the
echo handler itself out of the production module tree.

No behavior change.
tomholford and others added 15 commits October 11, 2026 17:53
A wrapper whose Unwrap returns itself would spin forever. Restore the
cycle-break mholt applied on caddyserver#7669, without bringing back the nil-pointer
guard Weidi asked to drop.
ServeQUICConn waits for active WT sessions, and with the default
eternal grace period HTTP/3 Shutdown would hang until every client
disconnected. Close the WebTransport server first so stop/reload
can drain.
A pooled QUIC listener created without DATAGRAMs cannot upgrade WT
sessions. Falling back on the WT-configured http3.Server still
advertised SETTINGS the socket cannot honor. Build a separate plain
HTTP/3 server for that listener and assert it omits WT SETTINGS.
Comparing writers with == panics on uncomparable types and only
catches a one-node cycle. Track pointer identity, bound the walk,
and add tests for an uncomparable self-unwrap and an A→B→A cycle.

RecordHijackedStatus lets Upgrade write through the naked HTTP/3
writer while the access-log recorder still observes the 200.
Dialer.Dial always sets Host from the URL, so header_up Host never
reached the upstream. Dial the real address via DialAddr and put
the prepared Host on the CONNECT.

Parse WT-Available-Protocols from the prepared request so header_up
applies to negotiation. Copy filtered upstream response headers
before header_down, record the hijacked 200 for access logs, and
run the same latency / circuit-breaker / passive-health path as
a normal round-trip.
Reload with an eternal grace period must close an in-flight session.
Access logs must record 200 after Upgrade. header_up Host and
WT-Available-Protocols must reach the upstream; header_down and
non-hop upstream headers must reach the client.
webtransport-go v0.13.0 renames Dialer to Transport. v0.11.1 does not
compile against quic-go v0.63.
Dial can return a response with an error when the peer rejects the
CONNECT. Close that body before the error is returned.
webtransport.Server.Close also closes the shared HTTP/3 server and aborts
every QUIC connection before the grace period applies. Close the registered
sessions, then let HTTP/3 shutdown drain ordinary requests.
Signed-off-by: Zen Dodd <[email protected]>
The proxy loop reuses the request and only recopies headers when header
ops are configured. Deleting the offer on that map hid it from the next
upstream.
Eternal grace leaves an active session until the peer ends it. A
configured grace period closes it at the deadline, while the socket
is still up, so the close capsule can be delivered.
The proxy-loop collapse renamed roundtripSucceededError to terminalError.
Master's Incremental refusal still returned the old type, so the rebased
package did not compile.
- Count in-flight requests on ServeQUICConn connections and close idle ones when shutdown starts
- Delay that close by a second so a just-finished response can be read
- Retain plain HTTP/3 fallbacks for listeners without datagrams and shut them down with the same grace period
- Join bidi and uni splice workers after the accept loops return
- Cancel the opposite copy on a hard splice error
@tomholford

Copy link
Copy Markdown
Contributor Author

@steadytao Thanks again for the feedback.

I rebased #7976 on master, and then rebased this branch on it. Then, per your feedback, addressed the following:

  • idle ServeQUICConn keepalives close at shutdown. In-flight requests, including a WebTransport extended CONNECT still in ServeHTTP, stay up. A connection that finishes its last request during shutdown closes after 1s so the client can read the body. TestWebTransport_IdleHTTP3DoesNotPinConfig. Fallback HTTP/3 servers are retained and Shutdown on the same grace context before the packet conn closes. TestWebTransport_FallbackRequestSurvivesReload.
  • the pump waits for bidi and uni workers after the accept loops return. A hard splice error cancels the other copy. TestPump_ShutdownWaitsForBlockedStream.

@steadytao

Copy link
Copy Markdown
Member

Much appreciated. Also, thank you for the congratulations on the medal; completely missed that earlier.


Also. @WeidiDeng Could you take a final pass over the HTTP/3 lifecycle when you get the chance please?

@WeidiDeng

Copy link
Copy Markdown
Member

There are conflicts to be resolved. Other than that, LGTM.

Resolve the server_test.go conflict by retaining both the WebTransport tests and the log-level test unchanged.

Validated with go test -race -short ./..., go build -buildvcs=false ./..., and golangci-lint run --timeout 10m.

AI-assisted conflict resolution using OpenAI Codex (GPT-6).
@francislavoie

francislavoie commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

FYI @tomholford quic-go 0.65.0 changed the http3.HTTPStreamer.HTTPStream() signature, could you prep a PR to bump the dep + fix the webtransport integration? I think webtransport-go probably needs a fix to match as well

@tomholford

Copy link
Copy Markdown
Contributor Author

FYI @tomholford quic-go 0.65.0 changed the http3.HTTPStreamer.HTTPStream() signature, could you prep a PR to bump the dep + fix the webtransport integration? I think webtransport-go probably needs a fix to match as well

@francislavoie On it, thanks for the heads up

@tomholford

Copy link
Copy Markdown
Contributor Author

@francislavoie Waiting on this upstream PR quic-go/webtransport-go#377 . Once it's in, will raise a PR to bump caddy's dep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature ⚙️ New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants