summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/DHT
AgeCommit message (Collapse)Author
2013-12-30Add module header to DHT MessagesSam Truzjan
2013-12-30Add documentation to Token moduleSam Truzjan
2013-12-29Fix instance Alternative RoutingSam Truzjan
2013-12-29Keep routing table in MVar.Sam Truzjan
Since table updates is not atomic operations and may perform IO we should be able to gain /exclusive/ access to the table. Consider insertNode function: 1) Thread A read table_1; 2) Thread B read table_1; 3) Thread B ping node Z and it does not respond and get removed; 4) Thread B remove node Z from table_1 and get table_2; 5) Thread B put table_2; 6) Thread A insert a new node and get table_3; 4) Thread A put table_3; The problem is that final table_3 do have the removed node. At the moment, exclusive access solves this problem.
2013-12-28Add instance Alternative RoutingSam Truzjan
2013-12-28Simplify Routing monadSam Truzjan
2013-12-28Add routing table shapeSam Truzjan
2013-12-28Drop old node if it is not respondingSam Truzjan
2013-12-28Add logging to DHTSam Truzjan
2013-12-28Fix timestamp comparisonSam Truzjan
2013-12-28Add node sessionsSam Truzjan
2013-12-28Fix typoSam Truzjan
2013-12-27Add naive session tokens implementationSam Truzjan
2013-12-27Add implied_port field to DHT announce querySam Truzjan
2013-12-27Fix get_peers response encodingSam Truzjan
2013-12-26Fix node info list serializationSam Truzjan
2013-12-26Test ping and find_node bencodingSam Truzjan
2013-12-25Fix GotPeers(peers) keySam Truzjan
2013-12-21Add DHT messagesSam Truzjan
2013-12-18Add the new purified routing tableSam Truzjan
2013-10-31Merge bittorrent package with torrent-contentSam Truzjan
2013-10-14Move some modules from torrent-contentSam Truzjan
2013-08-16~ Remove torrent-content modules.Sam T
2013-07-21~ Move some extensions to cabal.Sam T
2013-07-16~ Fix some long standing warnings.Sam T
2013-07-13+ Add listener service.Sam T
2013-07-09~ Move DHT to single module.Sam T
2013-06-20~ Merge kademlia package.Sam T