Commit Graph

514 Commits

Author SHA1 Message Date
Dirk Engling b26f91152d Fixed a bug where we forgot to stamp torrents that are not new. 2007-11-28 22:52:35 +00:00
Dirk Engling 82d123a99f XCode-Project. Note: This is PPC only, x86 must be enabled 2007-11-28 22:08:36 +00:00
Dirk Engling 0832973340 Fixed call to deflate() with wrong flag in endgame 2007-11-25 18:59:46 +00:00
Dirk Engling 10ca610952 Missed the second strnstr... fixed. 2007-11-24 20:34:41 +00:00
Dirk Engling b697b68eac Debug settings for chunk size were _way_ to low for production 2007-11-24 11:09:18 +00:00
Dirk Engling 1bbcf71b56 Completely rewritten fullscrape code. All assumptions on how deflate() works were a little naive. Needs more error checking and testing. 2007-11-23 18:15:38 +00:00
Dirk Engling f2bae3a5a2 strnstr is not part of what posix conform libc has to offer... replace it by strstr after cutting off the last byte 2007-11-23 18:14:22 +00:00
Dirk Engling 2624d425da Reflect changes in iovec code in sync code 2007-11-23 18:13:11 +00:00
Dirk Engling 56815b3672 make ot_iovecs fix last interface more sane, also add a convenience function that handles the task of fixing, allocating and - if necessary - freeing 2007-11-23 18:12:49 +00:00
Dirk Engling d44c5bd162 Introducing compression for fullscrapes and tpbs stats 2007-11-22 04:39:08 +00:00
Dirk Engling 00809d596f Introducing compression task flags 2007-11-22 04:38:25 +00:00
Dirk Engling 31c2a9fe03 Make allowing gzip a Makefile tunable 2007-11-22 04:37:41 +00:00
Dirk Engling 7e570f0f60 Fixing mmap allocation went to ot_mutex.c. Clean all torrents moved to ot_clean.c. Also make static buffers static 2007-11-21 01:57:39 +00:00
Dirk Engling 98491c70b6 Fixing mmap allocation went to ot_mutex.c. Also startup new sync thread. 2007-11-21 01:57:03 +00:00
Dirk Engling cbe8f5f382 Reflect changes in multithreaded sync model in header file. 2007-11-21 01:55:42 +00:00
Dirk Engling 0508d5fa1f Make sync generation multithreaded. 2007-11-21 01:55:15 +00:00
Dirk Engling bc22920516 Split sync in and sync out into different tasks 2007-11-21 01:54:52 +00:00
Dirk Engling a8821b42a4 Documentation fix 2007-11-21 01:54:31 +00:00
Dirk Engling 8bf09ff6cb Formatting 2007-11-21 01:54:14 +00:00
Dirk Engling 9df7d28415 static bufs are not shared anymore, even if that means more memory. 2007-11-21 01:54:00 +00:00
Dirk Engling 469e15de22 Last user of sendmmapdata is gone. Purge it. 2007-11-21 01:53:17 +00:00
Dirk Engling 2bdd11fc80 Tested for a too strict condition, we do need the correct tasktype AND an empty taskid, not the other way around 2007-11-20 02:55:13 +00:00
Dirk Engling 191c88394b Make clean_single_torrent return much faster, if nothing is to do 2007-11-20 02:22:21 +00:00
Dirk Engling 819f9cc1dd Sockets do not inherit non-blocking state in libowfat... 2007-11-20 02:21:53 +00:00
Dirk Engling dfe7ba6910 Fullscrape now cleanly finalizes its thread 2007-11-19 21:14:09 +00:00
Dirk Engling 032224f150 Cleanup now moved to its own thread, too 2007-11-19 21:10:53 +00:00
Dirk Engling 7b6b26e7ca Missing include for htonl() 2007-11-19 01:02:10 +00:00
Dirk Engling 53a7c09bc0 Full scrapes are now being delivered in different modes, as triggered by stats&mode=tpbs 2007-11-18 16:47:37 +00:00
Dirk Engling f0842a9cc3 Reflect new task-classes model in fullscrape worker 2007-11-18 16:46:48 +00:00
Dirk Engling c4e5c983a5 Reflect new task-classes model in mutex queue 2007-11-18 16:46:34 +00:00
Dirk Engling 92f22d78fa Stats are tasks now, they also come in classes. 2007-11-18 16:46:01 +00:00
Dirk Engling a4fcb52331 Stats are tasks now. 2007-11-18 16:45:27 +00:00
Dirk Engling 690786b762 Forgot to specify -pthread when using threads 2007-11-16 20:19:15 +00:00
Dirk Engling e1aa9168b4 introducing multithreaded full scrape creation. 2007-11-16 00:23:42 +00:00
Dirk Engling 89c7f40a16 tasklist code now tested in a multi threaded environment. 2007-11-15 03:35:03 +00:00
Dirk Engling 2746822a9b Move dead socket handling from handle_(read,write,timedout) into its own function handle_dead 2007-11-14 13:06:34 +00:00
Dirk Engling adac3bb2ab Introducing the workqueue 2007-11-14 12:59:58 +00:00
Dirk Engling 181afb7892 Increase full scrape chunk size to 1/2meg 2007-11-13 00:33:55 +00:00
Dirk Engling b8e5ab382e Rather embarrasing arithmetic fuckup 2007-11-13 00:30:17 +00:00
Dirk Engling 839a4bcf4d missing include 2007-11-13 00:01:24 +00:00
Dirk Engling f6409aa752 Fix typos in documenation 2007-11-12 17:26:01 +00:00
Dirk Engling 6cfb756fc3 Some in code documentation to make Denis happy :) 2007-11-12 16:54:21 +00:00
Dirk Engling f03b2740dd Moving accesslist stuff to its own object 2007-11-12 04:38:43 +00:00
Dirk Engling d64d3ce237 Return at end of line missing 2007-11-12 01:44:32 +00:00
Dirk Engling cc7274b7f8 Moving full scrapes to iovec-creating thread safe function 2007-11-12 01:41:57 +00:00
Dirk Engling 219fa41371 Dokumentation 2007-11-12 01:40:00 +00:00
Dirk Engling c048749014 Reflect changes in ot_iovec and ot_fullscrape in Makefile 2007-11-12 01:39:18 +00:00
Dirk Engling 0bc163060e Full scrape moves to its own object 2007-11-12 01:38:54 +00:00
Dirk Engling 2bcac0ab2b Fullscrape is thread safe now. 2007-11-12 01:38:08 +00:00
Dirk Engling 4c8991b77f New large chunk allocation code 2007-11-12 01:37:47 +00:00