We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ae17ea commit 8b01347Copy full SHA for 8b01347
proxy/proxy.go
@@ -121,7 +121,11 @@ func (p *Server) handleConnectionWithTLSDetection(conn net.Conn) {
121
wrappedConn, isTLS, err := p.isTLSConnection(conn)
122
if err != nil {
123
p.logger.Error("Failed to check connection type", "error", err)
124
- conn.Close()
+
125
+ err := conn.Close()
126
+ if err != nil {
127
+ p.logger.Error("Failed to close connection", "error", err)
128
+ }
129
return
130
}
131
if isTLS {
0 commit comments