Closed GoogleCodeExporter closed 9 years ago
There seems to be a contradiction now since a peer connection requires metadata
to be started. So there is no way to download metadata from a peer. (maybe it
would still work with incoming connections)
Original comment by webmas...@massaroddel.de
on 10 Oct 2014 at 4:57
I haven't had time to look into this properly, but the metadata unit test still
passes, doesn't it?
perhaps it only tests incoming connections though..
Original comment by arvid.no...@gmail.com
on 10 Oct 2014 at 5:08
There seems to be two problems in peer_connection::start()
1. if (!t || !t->ready_for_connections())
return;
2. init();
ready_for_connections() wont be true
init() expects metadata to be present
Original comment by webmas...@massaroddel.de
on 10 Oct 2014 at 9:36
I run the metadata extension test and it is failing (for some other reason it
seems).
According to the output the seeder always connects to the downloader and the
downloader receives the metadata.
IMO, this tests the less likely case.
Original comment by webmas...@massaroddel.de
on 11 Oct 2014 at 8:34
thanks for the pointers! I've improved the unit test to cover this case as well
and fixed it!
Original comment by arvid.no...@gmail.com
on 12 Oct 2014 at 6:30
Original issue reported on code.google.com by
webmas...@massaroddel.de
on 8 Oct 2014 at 6:49