mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 14:11:23 -04:00
move disable check to snowflakeIsDisabled
This commit is contained in:
parent
3fe10f3e7c
commit
6d2b0ac420
2 changed files with 30 additions and 15 deletions
|
@ -18,8 +18,9 @@ class Broker
|
|||
clients: 0
|
||||
|
||||
# When interacting with the Broker, snowflake must generate a unique session
|
||||
# ID so the Broker can keep track of which signalling channel it's speaking
|
||||
# to.
|
||||
# ID so the Broker can keep track of each proxy's signalling channels.
|
||||
# On construction, this Broker object does not do anything until
|
||||
# |getClientOffer| is called.
|
||||
constructor: (@url) ->
|
||||
@clients = 0
|
||||
# Ensure url has the right protocol + trailing slash.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue