mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Add Allowed Relay Hostname Pattern Indication
This commit is contained in:
parent
b09a2e09b3
commit
2ebdc89c42
4 changed files with 14 additions and 9 deletions
|
@ -108,7 +108,7 @@ func TestDecodeProxyPollRequest(t *testing.T) {
|
|||
err: fmt.Errorf(""),
|
||||
},
|
||||
} {
|
||||
sid, proxyType, natType, clients, relayPattern, err := DecodeProxyPollRequestWithRelayPrefix([]byte(test.data))
|
||||
sid, proxyType, natType, clients, relayPattern, _, err := DecodeProxyPollRequestWithRelayPrefix([]byte(test.data))
|
||||
So(sid, ShouldResemble, test.sid)
|
||||
So(proxyType, ShouldResemble, test.proxyType)
|
||||
So(natType, ShouldResemble, test.natType)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue