mirror of
https://github.com/bolucat/Archive.git
synced 2025-12-24 13:28:37 +08:00
Update On Fri Aug 30 20:33:09 CEST 2024
This commit is contained in:
@@ -108,7 +108,6 @@ func (b *BaseRelayServer) sniffAndBlockProtocol(c net.Conn) (net.Conn, error) {
|
||||
sniffMetadata, err := sniff.PeekStream(ctx, c, buffer, b.cfg.Options.SniffTimeout, sniff.TLSClientHello, sniff.HTTPHost)
|
||||
if err != nil {
|
||||
b.l.Debugf("sniff error: %s", err)
|
||||
return c, nil
|
||||
}
|
||||
|
||||
if sniffMetadata != nil {
|
||||
|
||||
Reference in New Issue
Block a user