projects
/
btrtrc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22ad654
)
Adding a torrent without info after waitAccept has blocked wouldn't trigger further...
author
Matt Joiner <anacrolix@gmail.com>
Sun, 3 Apr 2016 12:06:25 +0000 (22:06 +1000)
committer
Matt Joiner <anacrolix@gmail.com>
Sun, 3 Apr 2016 12:06:25 +0000 (22:06 +1000)
client.go
patch
|
blob
|
history
diff --git
a/client.go
b/client.go
index 134748d41b2e4972eec6c8a379142c85095366bb..9c4f587b47e6b850ff43d02d4ff4bc2fdc64720a 100644
(file)
--- a/
client.go
+++ b/
client.go
@@
-1974,6
+1974,7
@@
func (cl *Client) AddTorrentSpec(spec *TorrentSpec) (t *Torrent, new bool, err e
t.addTrackers(spec.Trackers)
cl.torrents[spec.InfoHash] = t
+ t.maybeNewConns()
// From this point onwards, we can consider the torrent a part of the
// client.