From 4c0f5ca6c8c6313382ff4655f8bfdea890be8796 Mon Sep 17 00:00:00 2001 From: LiquidTheDangerous Date: Sun, 11 Aug 2024 16:44:34 +0500 Subject: [PATCH] fix: client hello --- proxy/https.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/https.go b/proxy/https.go index 634f671..359336c 100644 --- a/proxy/https.go +++ b/proxy/https.go @@ -45,7 +45,7 @@ func (pxy *Proxy) handleHttps(lConn *net.TCPConn, exploit bool, initPkt *packet. log.Debug("[HTTPS] Sent 200 Connection Estabalished to ", lConn.RemoteAddr()) // Read client hello - tmpBuffer := make([]byte, pxy.bufferSize) + tmpBuffer := make([]byte, 4096) clientHello, err := ReadBytes(lConn, tmpBuffer) if err != nil { log.Debug("[HTTPS] Error reading client hello from the client", err)