mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Add utls imitate setting to snowflake client
This commit is contained in:
parent
c1c3596cf8
commit
9af0ad119b
3 changed files with 28 additions and 4 deletions
|
@ -97,6 +97,9 @@ type ClientConfig struct {
|
|||
// Max is the maximum number of snowflake proxy peers that the client should attempt to
|
||||
// connect to. Defaults to 1.
|
||||
Max int
|
||||
// UTlsClientID is the type of user application that snowflake should imitate.
|
||||
// If an empty value is provided, it will use Go's default TLS implementation
|
||||
UTlsClientID string
|
||||
}
|
||||
|
||||
// NewSnowflakeClient creates a new Snowflake transport client that can spawn multiple
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue