Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniomika committed May 23, 2022
1 parent 71222f4 commit 047ba63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpmuxer/https.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (pL *proxyListener) Accept() (net.Conn, error) {

tlsHello, buf, teeConn, peekErr := utils.PeekTLSHello(cl)
if peekErr != nil && tlsHello == nil {
log.Printf("Unable to read TLS hello: %s", err)
log.Printf("Unable to read TLS hello: %s", peekErr)
cl.Close()
continue
}
Expand Down

0 comments on commit 047ba63

Please sign in to comment.