Commit Graph

9 Commits (b2bd9f7d916d3edbf7be3ff3ac24db9befbff892)

Author SHA1 Message Date
erdgeist 66c906d5d3 Add comments, rename our struct http_data h to cookie, all clientsockets to sock, all size_t from socket_recvs to byte_count. Make signal handler set default handler for the second SIGINT 16 years ago
erdgeist 131211b4da V6 16 years ago
erdgeist 2df09905f5 * opentracker now drops permissions in correct order and really chroots() if ran as root
* lock passing between add_peer_to_torrent and return_peers_for_torrent is now avoided by providing a more general add_peer_to_torrent_and_return_peers function that can be used with NULL parameters to not return any peers (in sync case)
* in order to keep a fast overview how many torrents opentracker maintains, every mutex_bucket_unlock operation expects an additional integer parameter that tells ot_mutex.c how many torrents have been added or removed. A function mutex_get_torrent_count has been introduced.
16 years ago
erdgeist 6d4845149c Propose a scrape sync protocol. 16 years ago
erdgeist c6947b160f Handle program end more politely 16 years ago
erdgeist 334c6e4bbb The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version. 16 years ago
erdgeist daaee855b2 Whitespace fixes 16 years ago
erdgeist 465cc2ecdf Live sync is now handled in its own thread. Therefore it now creates and handles its own sockets. 16 years ago
erdgeist 00c8a89efe Live syncing between multiple tracker instances via udp multicast. 16 years ago