mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
This removes `tokens.ret()` from `runSession()` and from `datachannelHandler`, and moves the call to `connectToRelay()` to `runSession()`. Now the flow is more straight-forward, with no indirect callbacks: 1. Create a WebRTC connection. 2. Send answer. 3. Connect to client. 4. Connect to server. 5. Pipe the data. |
||
---|---|---|
.. | ||
metrics.go | ||
proxy-go_test.go | ||
pt_event_logger.go | ||
pt_event_metrics.go | ||
snowflake.go | ||
tokens.go | ||
tokens_test.go | ||
util.go | ||
webrtcconn.go |