Thanks to visit codestin.com
Credit goes to github.com

Skip to content

caddy: pass ListenQUIC options as a struct - #7976

Open
tomholford wants to merge 1 commit into
caddyserver:masterfrom
tomholford:listenquic-options
Open

caddy: pass ListenQUIC options as a struct#7976
tomholford wants to merge 1 commit into
caddyserver:masterfrom
tomholford:listenquic-options

Conversation

@tomholford

@tomholford tomholford commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Collapse ListenQUIC's TLS config, packet-conn wrappers, and Allow0RTT
arguments into ListenQUICOptions per feedback by mholt on #7669

First in a PR stack, as a pre-req for experimental webtransport passthrough (#7669)

AI-assisted (Grok 4.6 / Delta). I built and tested this e2e as part of validation of #7669. WOMM

@steadytao steadytao 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.

I am quite happy with this.

@steadytao
steadytao requested a review from mholt September 2, 2026 21:56
@francislavoie

Copy link
Copy Markdown
Member

Technically this is a breaking API change, but I assume nobody should have had a reason to use this in plugins? Probably fine.

@steadytao

Copy link
Copy Markdown
Member

Yeah, I feel they're improperly handling if they are anyways. Could be worth a small note in release though, even just a #PR.

@tomholford
tomholford force-pushed the listenquic-options branch 3 times, most recently from 7f7d978 to b69c418 Compare September 9, 2026 13:30

@mholt mholt 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.

This is better, and yeah I don't think anyone is using this (if so, easy and obvious to fix).

@mholt mholt added this to the v2.12.0 milestone Sep 9, 2026
Collapse the TLS config, packet-conn wrappers, and Allow0RTT arguments
into ListenQUICOptions so the signature matches Listen's ctx/portOffset/
ListenConfig prefix. Zero-value opts keep the historical default of
allowing 0-RTT. The API remains experimental.
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.

4 participants