From 0945f97fc68942acc9fadfb61d231c97dbe9d1af Mon Sep 17 00:00:00 2001 From: neru Date: Wed, 13 May 2026 11:33:36 -0300 Subject: [PATCH] fix: temporarily remove alpn --- src/proxy/tinymitm/proxy.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/proxy/tinymitm/proxy.cpp b/src/proxy/tinymitm/proxy.cpp index 23bfed4..8a11213 100644 --- a/src/proxy/tinymitm/proxy.cpp +++ b/src/proxy/tinymitm/proxy.cpp @@ -338,10 +338,10 @@ void TinyMITMProxy::handleClient(SOCKET clientSocket) wolfSSL_set_fd(clientSSL.get(), (int)clientGuard); wolfSSL_set_fd(remoteSSL.get(), (int)remoteGuard); - char alpnList[] = "\x08http/1.1"; - - wolfSSL_UseALPN(remoteSSL.get(), alpnList, sizeof(alpnList) - 1, 0); - wolfSSL_UseALPN(clientSSL.get(), alpnList, sizeof(alpnList) - 1, 0); + // temporarily removed alpn + //char alpnList[] = "\x08http/1.1"; + //wolfSSL_UseALPN(remoteSSL.get(), alpnList, sizeof(alpnList) - 1, 0); + //wolfSSL_UseALPN(clientSSL.get(), alpnList, sizeof(alpnList) - 1, 0); wolfSSL_UseSNI(remoteSSL.get(), WOLFSSL_SNI_HOST_NAME, host.c_str(), (unsigned short)host.size());