mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Log WebSocket→WebRTC messages in debug mode.
Same as the other direction.
This commit is contained in:
parent
f06104d182
commit
7c519b2975
1 changed files with 2 additions and 1 deletions
|
@ -139,8 +139,9 @@ class ProxyPair
|
|||
|
||||
# websocket --> WebRTC
|
||||
onRelayToClientMessage: (event) =>
|
||||
if DEBUG
|
||||
log 'websocket --> WebRTC data: ' + event.data.byteLength + ' bytes'
|
||||
@r2cSchedule.push event.data
|
||||
# log 'websocket --> WebRTC data: ' + event.data.byteLength + ' bytes'
|
||||
@flush()
|
||||
|
||||
onError: (event) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue