26c23fdecdHave an own file handle udp requests.
Dirk Engling
2007-11-06 17:51:48 +0000
2e2c1762d3Move stats out of opentracker.c, also have an own file handle udp requests.
Dirk Engling
2007-11-06 17:50:41 +0000
6c2d01dba4Thank you, GNU for fucking up pmake :)
Dirk Engling
2007-11-06 15:18:18 +0000
bcf252f249Makefile 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
6e77a7563aFixed a forgotten unlock and a messed up string pointer
Dirk Engling
2007-11-06 12:20:32 +0000
d84f1ff4ebFixed ntohl include
Dirk Engling
2007-11-06 12:04:05 +0000
c718b15168Fixed warnings about newlines at end of file
Dirk Engling
2007-11-06 12:03:11 +0000
fed78043a6No 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
3205a1733cRename source files in an ot_ fashion
Dirk Engling
2007-11-06 10:41:14 +0000
44cbe3de53Make 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
ee8369dbcfWe do now use the tools for locking buckets in order to prepare MT code
Dirk Engling
2007-11-06 01:29:57 +0000
9ee006d393Cleaned 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
ec950245bfLocks tested. Got the test routine wrong -> Fixed.
Dirk Engling
2007-11-06 01:25:36 +0000
aa25c390ddIntroducing first tools to make opentracker multithreaded.
Dirk Engling
2007-11-03 13:43:05 +0000
472f8469d2Introduce configuration dependent number of parameters in a nicer way
Dirk Engling
2007-11-02 13:13:03 +0000
a2f3ab87b0The last experiment failed. No more accept deferral
Dirk Engling
2007-11-02 04:18:52 +0000
6c8a69da19Trying to accept connections only when data has come in. This is an experiment.
Dirk Engling
2007-11-02 03:21:56 +0000
1b467d186cAllow for more than one admin ip address
Dirk Engling
2007-11-01 20:13:03 +0000
66b21d1e28Add more full scrape stats
Dirk Engling
2007-10-31 15:39:41 +0000
df30bc8484Number 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
62c528e88cI accidently put space on the list of non-terminating characters...
Dirk Engling
2007-10-23 00:44:22 +0000
463aabe5f7Prevent url-decoding for debug by using a temp buffer
Dirk Engling
2007-10-19 21:00:57 +0000
33530a2ac6Those stupid "announce ?info_hash" torrents get really annoying. Fix it in announce and scrape.
Dirk Engling
2007-10-19 20:02:41 +0000
e0f88d7545be more verbose about what full scrape consumers deliver in their http requests
Dirk Engling
2007-10-19 15:37:00 +0000
71436d6b24After 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
b7e8a852e8Remove an unused variable
Dirk Engling
2007-10-19 05:23:04 +0000
547463a21fRelease exactly all unused bytes in mmap allocation.
Dirk Engling
2007-10-19 05:21:01 +0000
dd7c0a3cabMust not dealloc mmaped buffers with free()
Dirk Engling
2007-10-19 03:39:04 +0000
61204221c1Fix misunderstandig of what libowfat thinks are seconds and what I did...
Dirk Engling
2007-10-19 02:00:53 +0000
6891fa78bcIncrease check interval for timeouted sockets to 10 seconds. That may prevent some disrupted scrapes.
Dirk Engling
2007-10-19 01:27:23 +0000
cafb0d45feSince 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
53054700c8Cannot access members after they are freed :/
Dirk Engling
2007-10-19 00:34:56 +0000
2c3b4e3de7Save a lot of work when skipping through uninteresting http request parameters
Dirk Engling
2007-10-18 23:33:07 +0000
91d3e4b6efMake fromhex() even faster
Dirk Engling
2007-10-18 11:50:54 +0000
cc78f4d304fixed one performance bug, where "skipping values from a ¶m=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
b61651394aIncrease send timeout. Also use an own variable for that.
Dirk Engling
2007-10-17 23:41:37 +0000
1d4eb17452Increase send timeout. Also use an own variable for that.
Dirk Engling
2007-10-17 22:50:48 +0000
23465c215aio_timeout is absolute, not relative :/
Dirk Engling
2007-10-17 21:13:13 +0000
7d4db8015dFree iobatches on timeout
Dirk Engling
2007-10-17 20:25:18 +0000
938d063919HEADS 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
962ad63424Sockets we write to now do also timeout
Dirk Engling
2007-10-16 18:23:36 +0000
7a65f9ca73Fixed 24h clean bug. Allocate less memory for full scrape. Free torrents without any downloaders immediately.
Dirk Engling
2007-10-16 00:33:31 +0000
5b82b40439Exclude 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