Skip to content

Commit

Permalink
fix: fix sniffed conn
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Aug 29, 2024
1 parent 394482e commit 51d36ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/transporter/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 51d36ef

Please sign in to comment.