Skip to content

Commit

Permalink
Remove comment referencing old IP based tracking (ava-labs#1509)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed May 17, 2023
1 parent 824c3b2 commit 1bcab1f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions network/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -746,13 +746,6 @@ func (n *network) Dispatch() error {
// Note: listener.Accept is rate limited outside of this package, so a
// peer can not just arbitrarily spin up goroutines here.
go func() {
// We pessimistically drop an incoming connection if the remote
// address is found in connectedIPs, myIPs, or peerAliasIPs. This
// protects our node from spending CPU cycles on TLS handshakes to
// upgrade connections from existing peers. Specifically, this can
// occur when one of our existing peers attempts to connect to one
// our IP aliases (that they aren't yet aware is an alias).
//
// Note: Calling [RemoteAddr] with the Proxy protocol enabled may
// block for up to ProxyReadHeaderTimeout. Therefore, we ensure to
// call this function inside the go-routine, rather than the main
Expand Down

0 comments on commit 1bcab1f

Please sign in to comment.