summaryrefslogtreecommitdiff
path: root/opentracker.c
AgeCommit message (Collapse)Author
2007-11-06Move stats out of opentracker.c, also have an own file handle udp requests.erdgeist
2007-11-06No 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 ↵erdgeist
and not considered stable.
2007-11-06Cleaned up stats return format. Also reflect APPI changes due to MT code in trackerlogic.{c,h}erdgeist
2007-11-02Introduce configuration dependent number of parameters in a nicer wayerdgeist
2007-11-02The last experiment failed. No more accept deferralerdgeist
2007-11-02Trying to accept connections only when data has come in. This is an experiment.erdgeist
2007-11-01Allow for more than one admin ip addresserdgeist
2007-10-31Add more full scrape statserdgeist
2007-10-29Reenabled syncingerdgeist
2007-10-27Number of buckets is 1024 nowerdgeist
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.
2007-10-23some clients chose to accidently send negative numwantserdgeist
2007-10-23Accept clients that forget to spell announce at all...erdgeist
2007-10-23This uTorrent/1600 client requires some... measures :/ I dont like the workaround.erdgeist
2007-10-22Now measure the time a clean_all_torrents takeserdgeist
2007-10-21assume anything looking like GET /a to be an announce...erdgeist
2007-10-21Last fix was not enough to get rid off those 1600er buggers.erdgeist
2007-10-21Work around the stupid utorrent 1600 bug. That'll be removed after a while.erdgeist
2007-10-21Now the Holzhammer: GET /an is announce, GET /sc is scrape. Period.erdgeist
2007-10-21now accept more classes of announce fuckupserdgeist
2007-10-21Just one more typoerdgeist
2007-10-21Just one more typoerdgeist
2007-10-21Work around more typos that might end up in torrent files as announce urlserdgeist
2007-10-21Debug code sometimes copied too much dataerdgeist
2007-10-21Fixed one leak from struct_httperdgeist
2007-10-19Be even more stupidistas-toleranterdgeist
2007-10-19Fix debug outputerdgeist
2007-10-19Enable _DEBUG_HTTPERROR to avoid warning...erdgeist
2007-10-19Include time since startup in full scrape debug outputerdgeist
2007-10-19Now limit full scrape to requests sending exactly "GET /scrape HTTP/"erdgeist
2007-10-19Introducing multiscrapeerdgeist
2007-10-19Prevent url-decoding for debug by using a temp buffererdgeist
2007-10-19Those stupid "announce ?info_hash" torrents get really annoying. Fix it in announce and scrape.erdgeist
2007-10-19be more verbose about what full scrape consumers deliver in their http requestserdgeist
2007-10-19give opentracker the missing header fileerdgeist
2007-10-19Must not dealloc mmaped buffers with free()erdgeist
2007-10-19Fix misunderstandig of what libowfat thinks are seconds and what I did...erdgeist
2007-10-19Since 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 ↵erdgeist
flag from struct http, since its rarely used and can be done in a seperate memcmp.
2007-10-19Cannot access members after they are freed :/erdgeist
2007-10-18Save a lot of work when skipping through uninteresting http request parameterserdgeist
2007-10-17Increase send timeout. Also use an own variable for that.erdgeist
2007-10-17io_timeout is absolute, not relative :/erdgeist
2007-10-17Free iobatches on timeouterdgeist
2007-10-17HEADS UP: you need to check out the latest libowfat! Huge allocations are now taken from mmap()ed regions, not from heap anymoreerdgeist
2007-10-16Sockets we write to now do also timeouterdgeist
2007-10-16Exclude empty torrents from full scrape, also try to shrink full scrape buffer after it is fullerdgeist
2007-10-15fixed line breaks in logerdgeist
2007-10-15Log all expansive operations to stderrerdgeist
2007-10-13Most open trackers do not have the problem of not being called often enough.. so do not introduce an extra timeout when waiting for activity. That also ↵erdgeist
removes one of the last extraneous gettimeofday calls
2007-10-13since gettimeofday is rather expansive, we do only fetch time once in a 5 second period, when we are delivered a SIGALRM.erdgeist
2007-10-12make 64bit safeerdgeist