325 Commits (5b3eb23f5f4bc93b4f049d9a1009ca1ca6101a89)
 

Author SHA1 Message Date
Dirk Engling a32ca2676c Prevent each invocation of clean_peerlist to call time() 15 years ago
Dirk Engling 1012fd9c7e Use mrtg to do periodical cleanup. Hopefully that wont make too much load for stats. 15 years ago
Dirk Engling f51335b9b8 Rudimentary stats 15 years ago
Dirk Engling 7fd4de2dfc Do some timeout checking on the first possible moment 15 years ago
Dirk Engling 03b2e45e0a Previous answer to event=stopped irritated some clients. Now reply with a static nothing-message 15 years ago
Denis Ahrens 313bfee080 set interval to default value from original tracker 15 years ago
Dirk Engling add4de97bf Cast types for mrtg_scrape sprintf 15 years ago
Dirk Engling 6d25d0681f Drop permission, if we can 15 years ago
Dirk Engling 134779877b New, fixpoint distinct random algorithm for choosing peers from the list... may contain bugs. Feedback welcome 15 years ago
Dirk Engling 1e706713cc Dont want ips from query string by default 15 years ago
Dirk Engling 0f66bfad08 Compiles with newest libowfat only 15 years ago
Dirk Engling 925903cebb testsuite points to localhost 15 years ago
Dirk Engling 0369a9f6e9 casting does floor() by itself 15 years ago
Dirk Engling afa05fad96 Documentation improved, some reindenting (again), variable types checked, unnecessary defines removed 15 years ago
Dirk Engling 400c9a4d6f Ignore SIGPIPE. This is safe, since it only raises, when the remote site died before we could send our paket back and is catched by write() returning -1 15 years ago
Dirk Engling f5f4c3e2ce Fixed a bug where I didn't replace new buffer pointer after realloc. Fixed a bug where I didnt copy enough memory when shrinking vectors. Now save some extra bytes in header. 15 years ago
Dirk Engling ea9970f77a Now we also check, if no io happens 15 years ago
Dirk Engling b51bbd6a4f Some code spacifying. Added actually checking timeouts. 15 years ago
Dirk Engling 6510d31887 Indent. Sorry. Plus timeout on every connection, for every byte we got. 15 years ago
Dirk Engling c55c17a871 This one breaks all ;) Lets see, what happens 15 years ago
Dirk Engling 2f9ae6c584 add timeout for clients 15 years ago
Dirk Engling 6df186ff06 shutdown was unnecessary 15 years ago
Dirk Engling 6fd6d2a5ca tidy up options 15 years ago
Dirk Engling def981fe44 Apply some limits 15 years ago
Dirk Engling b5c344ea97 black listing was the wrong way around 15 years ago
Dirk Engling a6e28732a1 really check g_check_blacklist flag 15 years ago
Dirk Engling 9957e9ea1f Be more helpful 15 years ago
Dirk Engling 1c97e9cd8c added closed tracker and blacklist code 15 years ago
Dirk Engling a3ac795bec README\! 15 years ago
Dirk Engling f3432e8616 Shell Testsuite 15 years ago
Dirk Engling e8100db396 simplified binary_search, it always does a memcmp. began to implement dump knowledge 15 years ago
Dirk Engling aa444b6e18 Added option to get ip from query string + parser, fixed two bugs concerning grow/shrink of vectors. Now cleans up a torrent BEFORE trying to remove a peer -> this may remove peer already and must be done anyway. 15 years ago
Dirk Engling dca356ee24 Remove some integer constants from code. Bad coder. Very bad coder :/ 15 years ago
Dirk Engling 82d969277e Now every answer goes in one buffer 15 years ago
Dirk Engling 07c7a58269 Try early answers 15 years ago
Dirk Engling 28037e46dd Missing header file 15 years ago
Dirk Engling cbf3b309f7 try shutdown() the socket after writing 15 years ago
Denis Ahrens c1b8fafd8e corrected the modifier for size_t 15 years ago
Denis Ahrens 8d67df43ae freebsd support 15 years ago
Dirk Engling f779a22f1b Fixed two mem leaks from httpd :/ 15 years ago
Dirk Engling e2722edabb Fixed memleak in example httpd :/ 15 years ago
Dirk Engling 48962c678e Made answer http/1.1 15 years ago
Dirk Engling a86c72c43b random 15 years ago
Dirk Engling e07ea9bf71 Division in stats now works 15 years ago
Dirk Engling f10cd3e42b Fix port again ;) Include headers in Makefile dependencies 15 years ago
Dirk Engling cb91882c6c fixed setport fuckup 15 years ago
Dirk Engling e866ddd61c fix include 15 years ago
Dirk Engling dd3589f57e Make code endianess save 15 years ago
Denis Ahrens eec69e9a0f fixed typo 15 years ago
Dirk Engling 300a580250 sorted bencoded order 15 years ago