From eb2ca2de09e32ca3e7f882c655ac51f194b8d062 Mon Sep 17 00:00:00 2001 From: Jovis Date: Fri, 13 Dec 2024 15:36:52 +1100 Subject: [PATCH] add log --- tlslistener/clienthelloconn.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tlslistener/clienthelloconn.go b/tlslistener/clienthelloconn.go index 8a3b6a41..1773d9fb 100644 --- a/tlslistener/clienthelloconn.go +++ b/tlslistener/clienthelloconn.go @@ -174,6 +174,8 @@ func (rrc *clientHelloRecordingConn) Read(b []byte) (int, error) { } func (rrc *clientHelloRecordingConn) processHello(info *tls.ClientHelloInfo) (*tls.Config, error) { + log.Debug("!!!!! jovis processHello") + // The hello is read at this point, so switch to no longer write incoming data to a second buffer. rrc.helloMutex.Lock() rrc.activeReader = rrc.Conn