begin JS "snowflake" proxy

This commit is contained in:
Serene Han 2015-12-30 09:54:20 -08:00
parent e4d54b5ac6
commit a16a4b43a5
6 changed files with 332 additions and 0 deletions

View file

@ -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() {