mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Fix receiving cp/paste offer
This commit is contained in:
parent
df2ea126c8
commit
2ac12c5b8d
1 changed files with 5 additions and 1 deletions
|
@ -191,7 +191,11 @@ Signalling =
|
|||
if !desc
|
||||
log 'Invalid SDP.'
|
||||
return false
|
||||
snowflake.receiveOffer recv if desc
|
||||
pair = snowflake.nextAvailableProxyPair()
|
||||
if !pair
|
||||
log 'At client capacity.'
|
||||
return false
|
||||
snowflake.receiveOffer pair, msg
|
||||
|
||||
# Log to both console and UI if applicable.
|
||||
log = (msg) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue