Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
YUNRU committed Jul 19, 2024
1 parent 9bed169 commit 69cd694
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions transport/internet/splithttp/hub.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,6 @@ func ListenSH(ctx context.Context, address net.Address, port net.Port, streamSet
}
errors.LogInfo(ctx, "listening unix domain socket(for SH) on ", address)
} else if l.isH3 { // quic
// Conn, err := net.ListenUDP("udp", &net.UDPAddr{
// IP: address.IP(),
// Port: int(port),
// })
Conn, err := internet.ListenSystemPacket(context.Background(), &net.UDPAddr{
IP: address.IP(),
Port: int(port),
Expand Down

0 comments on commit 69cd694

Please sign in to comment.