mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05: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
|
@ -66,8 +66,9 @@ func (i *IPC) Debug(_ interface{}, response *string) error {
|
|||
}
|
||||
|
||||
func (i *IPC) ProxyPolls(arg messages.Arg, response *[]byte) error {
|
||||
sid, proxyType, natType, clients, relayPattern, err := messages.DecodeProxyPollRequestWithRelayPrefix(arg.Body)
|
||||
sid, proxyType, natType, clients, relayPattern, relayPatternSupported, err := messages.DecodeProxyPollRequestWithRelayPrefix(arg.Body)
|
||||
_ = relayPattern
|
||||
_ = relayPatternSupported
|
||||
if err != nil {
|
||||
return messages.ErrBadRequest
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue