[tor-commits] [snowflake/master] Redundant close
arlo at torproject.org
arlo at torproject.org
Sun Mar 20 15:49:06 UTC 2016
commit ed60c74686b00fa92270391caecce5d368441766
Author: Arlo Breault <arlolra at gmail.com>
Date: Sun Mar 20 08:48:49 2016 -0700
Redundant close
---
client/snowflake.go | 2 --
1 file changed, 2 deletions(-)
diff --git a/client/snowflake.go b/client/snowflake.go
index 15f9b37..c78eed0 100644
--- a/client/snowflake.go
+++ b/client/snowflake.go
@@ -55,7 +55,6 @@ type SnowflakeChannel interface {
// Initialize a WebRTC Connection.
func dialWebRTC() (*webRTCConn, error) {
-
// TODO: [#3] Fetch ICE server information from Broker.
// TODO: [#18] Consider TURN servers here too.
config := webrtc.NewConfiguration(iceServers...)
@@ -92,7 +91,6 @@ func handler(conn *pt.SocksConn) error {
return err
}
defer remote.Close()
- defer conn.Close()
webrtcRemote = remote
err = conn.Grant(&net.TCPAddr{IP: net.IPv4zero, Port: 0})
More information about the tor-commits
mailing list