Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
Jovis7 committed Dec 13, 2024
1 parent 0c9f119 commit eb2ca2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tlslistener/clienthelloconn.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb2ca2d

Please sign in to comment.