Commit Graph

399 Commits (18d338ce40a1137b9b70a54fc8cd2b8fdc3d6cbf)

Author SHA1 Message Date
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
Dirk Engling d29536e30a MUST NOT enable features in CVSpico Makefile bad coder 2007-11-06 18:02:29 +00:00
Dirk Engling c37d25fd75 The expensive DMEM stats is gone. No need for it, too much potential to DOS. 2007-11-06 18:02:01 +00:00
Dirk Engling 31dedcd9cf Missing newline warning, missing include fixed 2007-11-06 17:53:14 +00:00
Dirk Engling 26c23fdecd Have an own file handle udp requests. 2007-11-06 17:51:48 +00:00
Dirk Engling 2e2c1762d3 Move stats out of opentracker.c, also have an own file handle udp requests. 2007-11-06 17:50:41 +00:00
Dirk Engling 6c2d01dba4 Thank you, GNU for fucking up pmake :) 2007-11-06 15:18:18 +00:00
Dirk Engling bcf252f249 Makefile now builds each object on its own. Thus it can be build with -j2 and higher 2007-11-06 12:44:53 +00:00
Dirk Engling 6e77a7563a Fixed a forgotten unlock and a messed up string pointer 2007-11-06 12:20:32 +00:00
Dirk Engling d84f1ff4eb Fixed ntohl include 2007-11-06 12:04:05 +00:00
Dirk Engling c718b15168 Fixed warnings about newlines at end of file 2007-11-06 12:03:11 +00:00
Dirk Engling fed78043a6 No one can get access to buckets now without locking them. Also split up the trackerlogic.c-monster in functional sub-units. HEADS UP: this code is untested and not considered stable. 2007-11-06 11:58:12 +00:00
Dirk Engling 3205a1733c Rename source files in an ot_ fashion 2007-11-06 10:41:14 +00:00
Dirk Engling 44cbe3de53 Make to_hex thread safe. Get rid off old /24 counting code. Protect more bucket accesses by locks. 2007-11-06 03:21:03 +00:00
Dirk Engling ee8369dbcf We do now use the tools for locking buckets in order to prepare MT code 2007-11-06 01:29:57 +00:00
Dirk Engling 9ee006d393 Cleaned up stats return format. Also reflect APPI changes due to MT code in trackerlogic.{c,h} 2007-11-06 01:28:40 +00:00