Skip to content

fix: apply TUIC v5 UDP relay size clamp when building server options#2943

Merged
wwqgtxx merged 1 commit into
MetaCubeX:Alphafrom
AaronChen0:Alpha
Jul 7, 2026
Merged

fix: apply TUIC v5 UDP relay size clamp when building server options#2943
wwqgtxx merged 1 commit into
MetaCubeX:Alphafrom
AaronChen0:Alpha

Conversation

@AaronChen0

Copy link
Copy Markdown

This code computes a clamped maxUdpRelayPacketSize for TUIC v5, but it never uses that value. The code still passes the original option.MaxUdpRelayPacketSize into v5.ServerOption, which means the intended safety limit is effectively ignored.

@wwqgtxx wwqgtxx merged commit e3972e7 into MetaCubeX:Alpha Jul 7, 2026
135 checks passed
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.

2 participants