Browse Source

fix comment about caching tunnels

Alan Shreve 12 years ago
parent
commit
d8f44ad28b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      server/manager.go

+ 2 - 2
server/manager.go

@@ -93,8 +93,8 @@ func (m *TunnelManager) Add(t *Tunnel) error {
 				}
 			}
 
-			// save our choice for later
-			// XXX: this is going to leak memory
+			// save our choice so we can try to give clients back the same
+			// tunnel later
 			m.idDomainAffinity.Set(clientId, subdomain, 0)
 			m.ipDomainAffinity.Set(clientIp, subdomain, 0)
 		}