perf: proxy: don't wait for WebRTC to establish before connecting to server
Is there a benefit in this waiting (other than when WebRTC fails and we spare doing the connection for nothing)? We can start connecting as soon as we get the client's offer. This can make bootstrapping a little faster. Same goes for the extension.
- https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/blob/97dea533da7b6b3b2b1dfbffe7dca3a8350fab0b/proxy/lib/snowflake.go#L328
- https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake-webext/-/blob/44bb28a15a4ebb5193e5d72b84d9259de7ea633d/proxypair.js#L140-142
Edited by WofWca