summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-23I accidently put space on the list of non-terminating characters...erdgeist
2007-10-23some clients chose to accidently send negative numwantserdgeist
2007-10-23Accept clients that forget to spell announce at all...erdgeist
2007-10-23Be really relaxed now about what to accept in values...erdgeist
2007-10-23Allow @ in values. This seems to fix some clientserdgeist
2007-10-23Allow = in values. This seems to fix some clientserdgeist
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-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-19After studying opentracker live data, I decided to radically reduce default allocation for vectors and making it grow faster instead: Most pools only had ↵erdgeist
one or two peers, wasting 8*15 or 8*14 bytes.
2007-10-19Remove an unused variableerdgeist
2007-10-19Release exactly all unused bytes in mmap allocation.erdgeist
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-19Increase check interval for timeouted sockets to 10 seconds. That may prevent some disrupted scrapes.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-18Make fromhex() even fastererdgeist
2007-10-18fixed one performance bug, where "skipping values from a &param=values pair" was requested, the requestor ended up with "values" to be parsed again.erdgeist
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
2007-10-17Increase send timeout. Also use an own variable for that.erdgeist
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-16Fixed 24h clean bug. Allocate less memory for full scrape. Free torrents without any downloaders immediately.erdgeist
2007-10-16Exclude empty torrents from full scrape, also try to shrink full scrape buffer after it is fullerdgeist