mirror of
https://github.com/bolucat/Archive.git
synced 2025-12-24 13:28:37 +08:00
Update On Sun May 26 20:29:40 CEST 2024
This commit is contained in:
@@ -61,7 +61,8 @@ func (b *baseTransporter) RelayTCPConn(c net.Conn, handshakeF TCPHandShakeF) err
|
||||
ctx, c, buffer, constant.SniffTimeOut,
|
||||
sniff.TLSClientHello, sniff.HTTPHost)
|
||||
if err != nil {
|
||||
b.l.Warnf("sniff error: %s", err)
|
||||
// this mean no protocol sniffed
|
||||
b.l.Debug("sniff error: %s", err)
|
||||
}
|
||||
if sniffMetadata != nil {
|
||||
b.l.Infof("sniffed protocol: %s", sniffMetadata.Protocol)
|
||||
|
||||
Reference in New Issue
Block a user