Commit Graph

28 Commits (38c073e6dd35b4b3cae51189204171fbff0d2a40)

Author SHA1 Message Date
erdgeist bca8bee623 Fix: auto increment in += is not a post increment... 16 years ago
erdgeist 5f5007883e Fix post increase on wrong pointer type. 16 years ago
erdgeist c6947b160f Handle program end more politely 16 years ago
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 0deb06d544 Reverting last commit. Debug effect not seen. 16 years ago
erdgeist ec0affa97d allow threads to be named. not posix compliant. 16 years ago
erdgeist 01ea1648d8 Cosmetics 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 3655976223 use a more reasonable compression level 17 years ago
erdgeist 7050e027d3 sys/param.h needed under openbsd 17 years ago
erdgeist c28cf398fd Introduce some kind of versioning 17 years ago
erdgeist a146a32885 Be a little more verbose about why increases fail 17 years ago
erdgeist 89f291566b Drop ot_{byte,word,dword} and use uint{8,16,32}_t 17 years ago
erdgeist 9d86780a74 Fixed call to deflate() with wrong flag in endgame 17 years ago
erdgeist e3103d30f7 Debug settings for chunk size were _way_ to low for production 17 years ago
erdgeist 8f7ef4b2ea Completely rewritten fullscrape code. All assumptions on how deflate() works were a little naive. Needs more error checking and testing. 17 years ago
erdgeist b1c8723609 Introducing compression for fullscrapes and tpbs stats 17 years ago
erdgeist a85798279b Documentation fix 17 years ago
erdgeist 6d09527ed8 Fullscrape now cleanly finalizes its thread 17 years ago
erdgeist 3528752c7b Missing include for htonl() 17 years ago
erdgeist 8d5f221785 Full scrapes are now being delivered in different modes, as triggered by stats&mode=tpbs 17 years ago
erdgeist 6458a37d82 introducing multithreaded full scrape creation. 17 years ago
erdgeist 91a3a3b342 Increase full scrape chunk size to 1/2meg 17 years ago
erdgeist 3eb88c5cc6 Fix typos in documenation 17 years ago
erdgeist 71e9ec887c Some in code documentation to make Denis happy :) 17 years ago
erdgeist 31f5b923eb Fullscrape is thread safe now. 17 years ago