From e41470fb4c1addd45a1e04e7cca0255b3fb47f98 Mon Sep 17 00:00:00 2001 From: Alexey <247128645+axkurcom@users.noreply.github.com> Date: Thu, 11 Jun 2026 19:52:23 +0300 Subject: [PATCH] Update fetcher.rs Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com> --- src/tls_front/fetcher.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tls_front/fetcher.rs b/src/tls_front/fetcher.rs index 8c3cb6c..22f8548 100644 --- a/src/tls_front/fetcher.rs +++ b/src/tls_front/fetcher.rs @@ -465,7 +465,9 @@ fn profile_supported_versions(profile: TlsFetchProfile) -> &'static [u16] { fn profile_padding_target(profile: TlsFetchProfile) -> usize { match profile { - TlsFetchProfile::ModernChromeLike => 220, + // X25519MLKEM768 makes the Chrome-like ClientHello much larger than + // legacy pre-hybrid profiles; keep enough headroom for padding. + TlsFetchProfile::ModernChromeLike => 1450, TlsFetchProfile::ModernFirefoxLike => 200, TlsFetchProfile::CompatTls12 => 180, TlsFetchProfile::LegacyMinimal => 64,