Commit Graph
12 Commits
Author SHA1 Message Date
Bryan Boreham 64999d830d State of connection is now three-way choice rather than two booleans 2014-09-08 17:30:54 +01:00
Bryan Boreham 16e9daf057 Reformatted with 'go fmt' 2014-09-08 16:25:55 +01:00
Bryan Boreham a3312c822c Attempt to connect immediately when given a new connection 2014-09-08 16:05:54 +01:00
Bryan Boreham 5cf2cb0c50 Keep track of which connections have been established 2014-09-08 15:36:19 +01:00
Bryan Boreham dec794eb72 Remove all references to PeerName in ConnectionMaker 2014-09-08 15:05:50 +01:00
Bryan Boreham 8b3e97b96a Change from stating which peer we expect to be on the end of a connection to accepting any known peer 2014-09-08 14:07:42 +01:00
Bryan Boreham 0a94388f0a Change ConnectionMaker from being focused on PeerName to being focused on address 2014-09-08 12:42:06 +01:00
Bryan Boreham 783ee21461 Continue after we establish that there is nothing left to do for failedCOnnection 2014-09-05 18:28:42 +01:00
Bryan Boreham 5c7010625a Remove entries from the failedConnection list when they succeed.
Avoids unsightly error messages where both ends make the same
connection and we then have to drop one of them.
2014-09-05 15:45:32 +01:00
Bryan Boreham 54d7972b5e Don't start a new connection attempt until all in-flight attempts for this peer have finished
Also cleaned up the naming slightly
2014-09-05 14:26:42 +01:00
Bryan Boreham 09271f4848 Track which connections we are currently attempting a connect on, so we don’t do multiple attempts at the same time to the same endpoint 2014-09-05 11:16:13 +01:00
Matthias Radestock e6feefa1fc initial commit 2014-08-18 17:55:26 +01:00