Skip to content

Comments

fix: prevent copying outer server name in inner#341

Merged
mingyech merged 1 commit intomasterfrom
fix-ech
May 7, 2025
Merged

fix: prevent copying outer server name in inner#341
mingyech merged 1 commit intomasterfrom
fix-ech

Conversation

@mingyech
Copy link
Member

@mingyech mingyech commented May 7, 2025

Update ECH outer SNI during ApplyPreset instead of Marshal so that it is not copied multiple times. Do not override server name in config when ECH is enabled.

Fixes #340

Update ECH outer SNI during ApplyPreset instead of Marshal so that it is
not copied multiple times. Do not override server name in config when
ECH is enabled.
@mingyech mingyech merged commit a7bb5ea into master May 7, 2025
3 checks passed
@mingyech mingyech deleted the fix-ech branch May 7, 2025 23:04
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.

utls will put ECH Outer SNI into inner hello incorrectly if call UConn.BuildHandshakeState()

1 participant