[snowflake/master] Fix receiving cp/paste offer

commit 2ac12c5b8d48ffeb2472069e5b893abc6950e9ce Author: Arlo Breault <arlolra@gmail.com> Date: Fri Mar 18 13:11:45 2016 -0700 Fix receiving cp/paste offer --- proxy/snowflake.coffee | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/proxy/snowflake.coffee b/proxy/snowflake.coffee index 1cdccda..eff96de 100644 --- a/proxy/snowflake.coffee +++ b/proxy/snowflake.coffee @@ -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) ->
participants (1)
-
arlo@torproject.org