Keep track of which connections have been established

This commit is contained in:
Bryan Boreham committed 2014-09-08 15:36:19 +01:00
1 parent dec794eb72
commit 5cf2cb0c50
3 files changed
+28 -16

No files matched your search

+1
View File
@@ -447,6 +447,7 @@ func (conn *LocalConnection) receiveTCP(decoder *gob.Decoder, usingPassword bool
// them and thus has informed us via TCP that it considers
// the connection is now up. We now do a fetchAll on it.
conn.SetEstablished()
conn.Router.ConnectionMaker.ConnectionEstablished(conn.remoteTCPAddr)
conn.SendTCP(ProtocolFetchAllByte)
} else if msg[0] == ProtocolStartFragmentationTest {
conn.Forward(false, &ForwardedFrame{