Commit Graph

18 Commits (5c99e50e2512ef277da30d3a7c41c0b00ee1c7a7)

Author SHA1 Message Date
erdgeist 08c7162783 Renamed OT_FLAG to OT_PEERFLAG to make code easier to read
Introduced READ16/32 and WRITE16/32 makros to abstract loading/storing from unaligned addresses away on cpu's that can actually load/store everywhere
Removed all unnecessary memmoves, especially where it only moved 6 bytes in inner loop. I replaced them with WRITE16/32(READ16/32()) makros
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 719858548d Bugfix: API change missed in two points, when calling return_peers_for_torrent. is_tcp was replaced by FLAG_TCP or FLAG_UDP 16 years ago
erdgeist e534db03c6 added live sync code
added a config file parser
added tracker id
changed WANT_CLOSED_TRACKER and WANT_BLACKLIST into WANT_ACCESS_WHITE and WANT_ACCESS_BLACK
changed WANT_TRACKER_SYNC to WANT_SYNC_BATCH and added WANT_SYNC_LIVE
added an option to switch off fullscrapes

cleaned up many internal hardcoded values, like PROTO_FLAG,
16 years ago
denis a16b067e60 now checking for the correct connection-id we gave out 17 years ago
erdgeist cadf1803e1 Fix endianess issues, also obey number of peers requested in udp announces 17 years ago
erdgeist 408c5f98ed Introducing live busy network detection. 17 years ago
erdgeist c28cf398fd Introduce some kind of versioning 17 years ago
erdgeist ac078bccf2 too many wrong udp requests scroll too much :) disable logging for now 17 years ago
erdgeist 2f4246396e more udp debugging 17 years ago
erdgeist cc47504af2 Do not lock out well behaving clients 17 years ago
erdgeist cac5a31d93 more udp debugging 17 years ago
erdgeist 8d00b1e039 Prepare udp connection id generation and checking 17 years ago
erdgeist 848a06a706 Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes 17 years ago
erdgeist 8bee224dc0 static bufs are not shared anymore, even if that means more memory. 17 years ago
erdgeist ad5fa66737 Missing newline warning, missing include fixed 17 years ago
erdgeist 49c4bbb47f Have an own file handle udp requests. 17 years ago