summaryrefslogtreecommitdiff
path: root/opentracker.c
AgeCommit message (Collapse)Author
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
2007-10-03fixed some stat outputdenis
2007-09-26New stats for s24s code, this is debug, do not use in real worlderdgeist
2007-09-10An announce with event=stopped now returns correct number of leechers and seeders. In TCP and UDP.erdgeist
2007-08-18Added whitelisting to reimplement the WANT_CLOSED_TRACKER functionalityerdgeist
2007-08-18Under Linux one gets SIG_ALRMs from time to time when using epoll. Ignore those.erdgeist
2007-08-11Sort of addressed a concorrency issue when receiving mutliple SIG_HUPserdgeist
2007-07-22some subnet stats... still ugly and untested.erdgeist
2007-07-22* fixed "nobody " -> "nobody" fuckup when getpwnam-ingerdgeist
* implemented basic blacklisting: ** the file specified with -b <BLACKLIST> is read and added to a blacklist vector ** if an announce hits a torrent in that blacklist vector, add_peer_to_torrent fails ** sending a SIGHUP to the program forces it to reread the blacklists ** the server returns with a 500, which is not exactly nice but does the job for now ** an adaequat "failure reason:" should be delivered... TODO
2007-07-20Clean up pw-structserdgeist