Commit Graph

  • 191c88394b Make clean_single_torrent return much faster, if nothing is to do Dirk Engling 2007-11-20 02:22:21 +0000
  • 819f9cc1dd Sockets do not inherit non-blocking state in libowfat... Dirk Engling 2007-11-20 02:21:53 +0000
  • dfe7ba6910 Fullscrape now cleanly finalizes its thread Dirk Engling 2007-11-19 21:14:09 +0000
  • 032224f150 Cleanup now moved to its own thread, too Dirk Engling 2007-11-19 21:10:53 +0000
  • 7b6b26e7ca Missing include for htonl() Dirk Engling 2007-11-19 01:02:10 +0000
  • 53a7c09bc0 Full scrapes are now being delivered in different modes, as triggered by stats&mode=tpbs Dirk Engling 2007-11-18 16:47:37 +0000
  • f0842a9cc3 Reflect new task-classes model in fullscrape worker Dirk Engling 2007-11-18 16:46:48 +0000
  • c4e5c983a5 Reflect new task-classes model in mutex queue Dirk Engling 2007-11-18 16:46:34 +0000
  • 92f22d78fa Stats are tasks now, they also come in classes. Dirk Engling 2007-11-18 16:46:01 +0000
  • a4fcb52331 Stats are tasks now. Dirk Engling 2007-11-18 16:45:27 +0000
  • 690786b762 Forgot to specify -pthread when using threads Dirk Engling 2007-11-16 20:19:15 +0000
  • e1aa9168b4 introducing multithreaded full scrape creation. Dirk Engling 2007-11-16 00:23:42 +0000
  • 89c7f40a16 tasklist code now tested in a multi threaded environment. Dirk Engling 2007-11-15 03:35:03 +0000
  • 2746822a9b Move dead socket handling from handle_(read,write,timedout) into its own function handle_dead Dirk Engling 2007-11-14 13:06:34 +0000
  • adac3bb2ab Introducing the workqueue Dirk Engling 2007-11-14 12:59:58 +0000
  • 181afb7892 Increase full scrape chunk size to 1/2meg Dirk Engling 2007-11-13 00:33:55 +0000
  • b8e5ab382e Rather embarrasing arithmetic fuckup Dirk Engling 2007-11-13 00:30:17 +0000
  • 839a4bcf4d missing include Dirk Engling 2007-11-13 00:01:24 +0000
  • f6409aa752 Fix typos in documenation Dirk Engling 2007-11-12 17:26:01 +0000
  • 6cfb756fc3 Some in code documentation to make Denis happy :) Dirk Engling 2007-11-12 16:54:21 +0000
  • f03b2740dd Moving accesslist stuff to its own object Dirk Engling 2007-11-12 04:38:43 +0000
  • d64d3ce237 Return at end of line missing Dirk Engling 2007-11-12 01:44:32 +0000
  • cc7274b7f8 Moving full scrapes to iovec-creating thread safe function Dirk Engling 2007-11-12 01:41:57 +0000
  • 219fa41371 Dokumentation Dirk Engling 2007-11-12 01:40:00 +0000
  • c048749014 Reflect changes in ot_iovec and ot_fullscrape in Makefile Dirk Engling 2007-11-12 01:39:18 +0000
  • 0bc163060e Full scrape moves to its own object Dirk Engling 2007-11-12 01:38:54 +0000
  • 2bcac0ab2b Fullscrape is thread safe now. Dirk Engling 2007-11-12 01:38:08 +0000
  • 4c8991b77f New large chunk allocation code Dirk Engling 2007-11-12 01:37:47 +0000
  • d29536e30a MUST NOT enable features in CVSpico Makefile bad coder Dirk Engling 2007-11-06 18:02:29 +0000
  • c37d25fd75 The expensive DMEM stats is gone. No need for it, too much potential to DOS. Dirk Engling 2007-11-06 18:02:01 +0000
  • 31dedcd9cf Missing newline warning, missing include fixed Dirk Engling 2007-11-06 17:53:14 +0000
  • 26c23fdecd Have an own file handle udp requests. Dirk Engling 2007-11-06 17:51:48 +0000
  • 2e2c1762d3 Move stats out of opentracker.c, also have an own file handle udp requests. Dirk Engling 2007-11-06 17:50:41 +0000
  • 6c2d01dba4 Thank you, GNU for fucking up pmake :) Dirk Engling 2007-11-06 15:18:18 +0000
  • bcf252f249 Makefile now builds each object on its own. Thus it can be build with -j2 and higher Dirk Engling 2007-11-06 12:44:53 +0000
  • 6e77a7563a Fixed a forgotten unlock and a messed up string pointer Dirk Engling 2007-11-06 12:20:32 +0000
  • d84f1ff4eb Fixed ntohl include Dirk Engling 2007-11-06 12:04:05 +0000
  • c718b15168 Fixed warnings about newlines at end of file Dirk Engling 2007-11-06 12:03:11 +0000
  • 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. Dirk Engling 2007-11-06 11:58:12 +0000
  • 3205a1733c Rename source files in an ot_ fashion Dirk Engling 2007-11-06 10:41:14 +0000
  • 44cbe3de53 Make to_hex thread safe. Get rid off old /24 counting code. Protect more bucket accesses by locks. Dirk Engling 2007-11-06 03:21:03 +0000
  • ee8369dbcf We do now use the tools for locking buckets in order to prepare MT code Dirk Engling 2007-11-06 01:29:57 +0000
  • 9ee006d393 Cleaned up stats return format. Also reflect APPI changes due to MT code in trackerlogic.{c,h} Dirk Engling 2007-11-06 01:28:40 +0000
  • ec950245bf Locks tested. Got the test routine wrong -> Fixed. Dirk Engling 2007-11-06 01:25:36 +0000
  • aa25c390dd Introducing first tools to make opentracker multithreaded. Dirk Engling 2007-11-03 13:43:05 +0000
  • 472f8469d2 Introduce configuration dependent number of parameters in a nicer way Dirk Engling 2007-11-02 13:13:03 +0000
  • a2f3ab87b0 The last experiment failed. No more accept deferral Dirk Engling 2007-11-02 04:18:52 +0000
  • 6c8a69da19 Trying to accept connections only when data has come in. This is an experiment. Dirk Engling 2007-11-02 03:21:56 +0000
  • 1b467d186c Allow for more than one admin ip address Dirk Engling 2007-11-01 20:13:03 +0000
  • 66b21d1e28 Add more full scrape stats Dirk Engling 2007-10-31 15:39:41 +0000
  • f37e510592 Reenabled syncing Dirk Engling 2007-10-29 17:22:05 +0000
  • df30bc8484 Number of buckets is 1024 now Clean all torrents now only cleans one bucket at a time All torrents that are being worked upon in an announce are being cleaned on demoand torrent's peer lists now keep extra counts for seeds and peers to speed up scrape and announce Sync has gone for now. I will think up a new way to implement. The old one was way to slow. Dirk Engling 2007-10-27 14:06:07 +0000
  • 62c528e88c I accidently put space on the list of non-terminating characters... Dirk Engling 2007-10-23 00:44:22 +0000
  • 7075730766 some clients chose to accidently send negative numwants Dirk Engling 2007-10-23 00:39:15 +0000
  • f2f93d093f Accept clients that forget to spell announce at all... Dirk Engling 2007-10-23 00:30:46 +0000
  • d751f98e29 Be really relaxed now about what to accept in values... Dirk Engling 2007-10-23 00:27:00 +0000
  • 0f6628b7f8 Allow @ in values. This seems to fix some clients Dirk Engling 2007-10-23 00:22:50 +0000
  • 20373192a4 Allow = in values. This seems to fix some clients Dirk Engling 2007-10-23 00:20:05 +0000
  • d16c925901 This uTorrent/1600 client requires some... measures :/ I dont like the workaround. Dirk Engling 2007-10-23 00:01:10 +0000
  • 96a43699e8 Now measure the time a clean_all_torrents takes Dirk Engling 2007-10-22 00:57:57 +0000
  • 8b81b12af6 Now measure the time a clean_all_torrents takes Dirk Engling 2007-10-22 00:44:11 +0000
  • df85d516c8 assume anything looking like GET /a to be an announce... Dirk Engling 2007-10-21 05:36:10 +0000
  • c3eaa46d8f Last fix was not enough to get rid off those 1600er buggers. Dirk Engling 2007-10-21 05:26:55 +0000
  • 75d96f1f50 Work around the stupid utorrent 1600 bug. That'll be removed after a while. Dirk Engling 2007-10-21 05:15:35 +0000
  • 9268f32200 Now the Holzhammer: GET /an is announce, GET /sc is scrape. Period. Dirk Engling 2007-10-21 04:55:19 +0000
  • b56035424e now accept more classes of announce fuckups Dirk Engling 2007-10-21 04:37:37 +0000
  • ec5395b57c Just one more typo Dirk Engling 2007-10-21 04:23:39 +0000
  • 7149cb5600 Just one more typo Dirk Engling 2007-10-21 04:20:42 +0000
  • f1ad491e66 Work around more typos that might end up in torrent files as announce urls Dirk Engling 2007-10-21 04:13:53 +0000
  • d5839b8407 Debug code sometimes copied too much data Dirk Engling 2007-10-21 03:37:26 +0000
  • f2e615720b Fixed one leak from struct_http Dirk Engling 2007-10-21 01:11:45 +0000
  • 5f35e4bef7 Be even more stupidistas-tolerant Dirk Engling 2007-10-19 23:15:13 +0000
  • c69e375393 Fix debug output Dirk Engling 2007-10-19 22:55:13 +0000
  • 0da6f316d6 Enable _DEBUG_HTTPERROR to avoid warning... Dirk Engling 2007-10-19 22:36:28 +0000
  • 6de5b8544a Include time since startup in full scrape debug output Dirk Engling 2007-10-19 22:20:42 +0000
  • 1a864b16c1 Now limit full scrape to requests sending exactly "GET /scrape HTTP/" Dirk Engling 2007-10-19 22:13:59 +0000
  • d3f8013a18 Introducing multiscrape Dirk Engling 2007-10-19 21:56:59 +0000
  • 463aabe5f7 Prevent url-decoding for debug by using a temp buffer Dirk Engling 2007-10-19 21:00:57 +0000
  • 33530a2ac6 Those stupid "announce ?info_hash" torrents get really annoying. Fix it in announce and scrape. Dirk Engling 2007-10-19 20:02:41 +0000
  • e0f88d7545 be more verbose about what full scrape consumers deliver in their http requests Dirk Engling 2007-10-19 15:37:00 +0000
  • 71436d6b24 After studying opentracker live data, I decided to radically reduce default allocation for vectors and making it grow faster instead: Most pools only had one or two peers, wasting 8*15 or 8*14 bytes. Dirk Engling 2007-10-19 14:41:30 +0000
  • b7e8a852e8 Remove an unused variable Dirk Engling 2007-10-19 05:23:04 +0000
  • 547463a21f Release exactly all unused bytes in mmap allocation. Dirk Engling 2007-10-19 05:21:01 +0000
  • 8c3624ce9d give opentracker the missing header file Dirk Engling 2007-10-19 03:41:23 +0000
  • dd7c0a3cab Must not dealloc mmaped buffers with free() Dirk Engling 2007-10-19 03:39:04 +0000
  • 61204221c1 Fix misunderstandig of what libowfat thinks are seconds and what I did... Dirk Engling 2007-10-19 02:00:53 +0000
  • 6891fa78bc Increase check interval for timeouted sockets to 10 seconds. That may prevent some disrupted scrapes. Dirk Engling 2007-10-19 01:27:23 +0000
  • cafb0d45fe Since array and io_batch are in a union, and we also have time-outing writable sockets, we need to mark, which of the union is used. Also remove the blessed flag from struct http, since its rarely used and can be done in a seperate memcmp. Dirk Engling 2007-10-19 01:26:33 +0000
  • 53054700c8 Cannot access members after they are freed :/ Dirk Engling 2007-10-19 00:34:56 +0000
  • 2c3b4e3de7 Save a lot of work when skipping through uninteresting http request parameters Dirk Engling 2007-10-18 23:33:07 +0000
  • 91d3e4b6ef Make fromhex() even faster Dirk Engling 2007-10-18 11:50:54 +0000
  • cc78f4d304 fixed one performance bug, where "skipping values from a &param=values pair" was requested, the requestor ended up with "values" to be parsed again. improved performance of fromhex improved performance of is_unreserved() by moving it all into a simple byte array improved performance of %41 => 'A' conversion by reordering variables Dirk Engling 2007-10-18 00:21:22 +0000
  • b61651394a Increase send timeout. Also use an own variable for that. Dirk Engling 2007-10-17 23:41:37 +0000
  • 1d4eb17452 Increase send timeout. Also use an own variable for that. Dirk Engling 2007-10-17 22:50:48 +0000
  • 23465c215a io_timeout is absolute, not relative :/ Dirk Engling 2007-10-17 21:13:13 +0000
  • 7d4db8015d Free iobatches on timeout Dirk Engling 2007-10-17 20:25:18 +0000
  • 938d063919 HEADS UP: you need to check out the latest libowfat! Huge allocations are now taken from mmap()ed regions, not from heap anymore Dirk Engling 2007-10-17 14:43:13 +0000
  • 962ad63424 Sockets we write to now do also timeout Dirk Engling 2007-10-16 18:23:36 +0000
  • 7a65f9ca73 Fixed 24h clean bug. Allocate less memory for full scrape. Free torrents without any downloaders immediately. Dirk Engling 2007-10-16 00:33:31 +0000
  • 5b82b40439 Exclude empty torrents from full scrape, also try to shrink full scrape buffer after it is full Dirk Engling 2007-10-16 00:23:13 +0000