@cryptotaxi247 / kubo / commits / f7634611e

secured net logs

Juan Batiz-Benet committed Sep 19, 2014 at 05:51 UTC f7634611e6779c0f82f1facb3be6da647f235082
1 file changed +3 -1
net/swarm/conn.go
+3 -1
@@ -101,12 +101,14 @@ func (s *Swarm) connSetup(c *conn.Conn) error {
101 return errors.New("Tried to start nil connection.")
102 }
103
104 - u.DOut("Starting connection: %s\n", c.Peer.Key().Pretty())
104 + // u.DOut("Starting connection: %s\n", c.Peer.Key().Pretty())
105
106 if err := s.connSecure(c); err != nil {
107 return fmt.Errorf("Conn securing error: %v", err)
108 }
109
110 + // u.DOut("Secured connection: %s\n", c.Peer.Key().Pretty())
111 +
112 // add to conns
113 s.connsLock.Lock()
114 if _, ok := s.conns[c.Peer.Key()]; ok {