mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Add outbound proxy configuration propagation
This commit is contained in:
parent
f43da1d2d2
commit
5df7a06eee
7 changed files with 139 additions and 37 deletions
|
@ -261,6 +261,10 @@ type transportWrapper struct {
|
|||
sc *SocksClient
|
||||
}
|
||||
|
||||
func (t *transportWrapper) ListenUDP(network string, locAddr *net.UDPAddr) (transport.UDPConn, error) {
|
||||
return t.sc.ListenPacket(network, nil)
|
||||
}
|
||||
|
||||
func (t *transportWrapper) ListenPacket(network string, address string) (net.PacketConn, error) {
|
||||
return t.sc.ListenPacket(network, nil)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue