mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
begin JS "snowflake" proxy
This commit is contained in:
parent
e4d54b5ac6
commit
a16a4b43a5
6 changed files with 332 additions and 0 deletions
|
@ -35,6 +35,9 @@ func handler(conn *pt.SocksConn) error {
|
|||
return err
|
||||
}
|
||||
|
||||
// For now, the Go client is always the offerer.
|
||||
// TODO: Copy paste signaling
|
||||
|
||||
pc.OnNegotiationNeeded = func() {
|
||||
// log.Println("OnNegotiationNeeded")
|
||||
go func() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue