Files
aria2/test/DefaultPeerStorageTest.cc
Tatsuhiro Tsujikawa 7a31f9bf29 Make assertion hold
If we have peer which is already used, make addAndCheckoutPeer() fail.
If peer is in unused list, first remove the old entry, and then add
new one.  This would make assertion in ~DefaultPeerStorage hold.
2016-08-20 18:49:19 +09:00

6.7 KiB