snowflake/proxy/lib
WofWca a26fa6da44 refactor(proxy): simplify runSession()
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.
2025-03-03 02:45:27 +04:00
..
metrics.go proxy: add country to prometheus metrics 2025-02-13 12:44:23 +01:00
proxy-go_test.go improvement: use SetIPFilter for local addrs 2024-11-28 10:56:40 -05:00
pt_event_logger.go Log EventOnCurrentNATTypeDetermined for proxy 2024-12-03 15:05:44 -05:00
pt_event_metrics.go proxy: add country to prometheus metrics 2025-02-13 12:44:23 +01:00
snowflake.go refactor(proxy): simplify runSession() 2025-03-03 02:45:27 +04:00
tokens.go Comment package and minor changes exports 2021-10-26 15:49:46 -04:00
tokens_test.go Comment package and minor changes exports 2021-10-26 15:49:46 -04:00
util.go Zero bytesSyncLogger stats after reading them 2023-10-30 12:42:45 -04:00
webrtcconn.go proxy: webRTCconn gives the remote IP instead of the Address 2025-02-13 12:44:17 +01:00