mirror of
https://github.com/go-gost/gost.git
synced 2026-10-08 20:15:46 +00:00
update handler options
This commit is contained in:
@@ -46,7 +46,7 @@ func (h *socks5Handler) handleUDPTun(ctx context.Context, conn net.Conn, network
|
||||
}
|
||||
|
||||
relay := handler.NewUDPRelay(socks.UDPTunServerConn(conn), pc).
|
||||
WithBypass(h.bypass).
|
||||
WithBypass(h.options.Bypass).
|
||||
WithLogger(h.logger)
|
||||
relay.SetBufferSize(h.md.udpBufferSize)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user