]> Sergey Matveev's repositories - btrtrc.git/blobdiff - client.go
Limit simultaneous announces to the same URL
[btrtrc.git] / client.go
index 6292d778fdbb31c5e6b82b6f421b44d625c3ffa5..7ae72295da5f38e8c20fd7ee681b46314f984b8a 100644 (file)
--- a/client.go
+++ b/client.go
@@ -78,6 +78,7 @@ type Client struct {
        numHalfOpen     int
 
        websocketTrackers websocketTrackers
+       activeAnnounces   map[string]struct{}
 }
 
 type ipStr string