426 Commits (343169385e39526bdcb8069f616eb1ab61609241)
 

Author SHA1 Message Date
Dirk Engling 343169385e Make all torrents in their buckets sorted again. 13 years ago
Dirk Engling 32edd0dff8 Fix: auto increment in += is not a post increment... 13 years ago
Dirk Engling 3557e9edd7 Fix post increase on wrong pointer type. 13 years ago
Dirk Engling efce908bbc Used wrong variable as offset into hash to copy 13 years ago
Dirk Engling 04e5bac4c3 Handle program end more politely 13 years ago
Dirk Engling 675dad9b3a Avoid cast warning on 64bit machines 13 years ago
Dirk Engling fa6c870315 Renamed OT_FLAG to OT_PEERFLAG to make code easier to read 13 years ago
Dirk Engling 95b6c3b498 Format for full scrapes was not parsed correctly. 13 years ago
Dirk Engling cec9b44738 Make mutex_lock_bucket_by_hash generic to any OT_BUCKET_COUNT 13 years ago
Dirk Engling d46a8a5d06 Forgot one define READ32 13 years ago
Dirk Engling 545dab2c18 Tidy up unnecessary includes 13 years ago
Dirk Engling 55af66acb2 Add specialized vector functions to handle peers in sorted lists 13 years ago
Dirk Engling efe40b2726 Let's give a damn about syntactical correctness of peer's http strings. It's too expensive on both sides to check and to reject. 13 years ago
Dirk Engling d5caa5786b Now enforce that peers do not come back before our interval by giving out a 'min interval' in responses. 13 years ago
Dirk Engling d021d86940 printf is buffered, write not. Use printf for all. 13 years ago
Dirk Engling 69f4646df3 fix size of 0 issue 13 years ago
Dirk Engling 7eb5341c78 Add debug code to spot peers that come back too early 13 years ago
Dirk Engling b8d15fe766 Add debug code to store peer id 13 years ago
Dirk Engling a6afcf8ab8 New peer flag to see, whether peer came from announce or sync 13 years ago
Dirk Engling 384028829b Aid spotting bad clients... 13 years ago
Denis Ahrens 8614b83456 stats fuer sync 13 years ago
Dirk Engling dcf8454138 Live Sync for peers that do not come back too early. 13 years ago
Dirk Engling c0dab929ab The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version. 13 years ago
Dirk Engling 90217a63e5 Bugfix: Number of Pools << Number of Buckets 13 years ago
Dirk Engling ca82945307 Try to use much less memory and hope for speedups 13 years ago
Dirk Engling 19dcaa82f5 Spread the amount of time spent in cleanup about 2 minutes 13 years ago
Dirk Engling 9384f6494b Add stats about when peers renew their announces. 13 years ago
Dirk Engling 18d338ce40 Never let vectors shrink below their minimal capacity 13 years ago
Dirk Engling 49c5139acf Formatting 13 years ago
Dirk Engling c8daa7bf86 Add stats about when peers renew their announces. 13 years ago
Dirk Engling 7dcd727ce6 Whitespace fixes 13 years ago
Denis Ahrens 32477fb1ba fixed typo 13 years ago
Dirk Engling 71b2ffcaa6 Fix stats parse code to allow modes with more than 4 characters. Wir wurden ja langsam zum Gespoett der Leute. 13 years ago
Dirk Engling 022f3e7455 First vector has size 1, not 0 in debug vector 13 years ago
Dirk Engling 02a10e8849 Fix: blacklist and whitelist config option parsing code was the wrong way 13 years ago
Dirk Engling b3d596c243 Document WANT_RESTRICT_STATS in sample config file 13 years ago
Dirk Engling 53ce461698 Enable stats restricting config file option 13 years ago
Dirk Engling 6e77c03281 Tidy up stats task. 13 years ago
Dirk Engling 55cc5df1b7 Move more complicated stats code to its own thread 13 years ago
Dirk Engling ee330be078 Introduce vector debuggin code and stats restriction options 13 years ago
Dirk Engling 55632a2dca Add code to debug vector code performance. 13 years ago
Denis Ahrens 71bffcabab fixed the length 13 years ago
Dirk Engling 7a180be215 release pools only after all other services have been stopped. 13 years ago
Dirk Engling 344067166c Fix debug output for addresses >127 13 years ago
Dirk Engling 14f0a3ceea Reverting last commit. Debug effect not seen. 13 years ago
Dirk Engling aa7f40b77c Add config option for naming threads 13 years ago
Dirk Engling ad7c574c0e allow threads to be named. not posix compliant. 13 years ago
Denis Ahrens 779df22409 only sync when the peer is actually added to the first pool. this saves ca. 40% syncdata 13 years ago
Dirk Engling e88a799172 Bugfix: API change missed in two points, when calling return_peers_for_torrent. is_tcp was replaced by FLAG_TCP or FLAG_UDP 13 years ago
Dirk Engling 3e0cec3269 Bugfix: overwrote bencoded data with udp reply data when sending an event=stopped 13 years ago