summaryrefslogtreecommitdiff
path: root/ot_http.c
AgeCommit message (Collapse)Author
2024-04-18Add support for zstdDirk Engling
2024-04-18Only have huge downloads (aka chunked) be application/octet-streamDirk Engling
2024-04-17Let our fullscrapes have a binary content-typeDirk Engling
2024-04-17chrome does not accept chunked gzip encoding for http/1.0 protocol versionDirk Engling
2024-04-16Remove CVS version tags, they did not work anymore after moving to gitDirk Engling
2024-04-15define _GNU_SOURCE to silence warning about asprintfDirk Engling
2024-04-15Use bzero instead of the new iob_init for older libowfatsDirk Engling
2024-04-15Allow the use of iob_init if the new libowfat is not yet availableDirk Engling
2024-04-15clang-formatDirk Engling
2024-04-14remove debug fprintfs used to catch a bugDirk Engling
2024-04-14Call io_dontwantread only once on a socketDirk Engling
2024-04-13Initialise io_batches with their appropiate init functionDirk Engling
2024-04-13Remove unused macroDirk Engling
2024-04-13Use asprintf to allocate header instead of fixed arrayDirk Engling
2024-04-13Fix type warnings in debug stringsDirk Engling
2024-04-13Add proper parsing for the gzip content encodingDirk Engling
2024-04-13Better track current iobatchDirk Engling
2024-04-13First shot on chunked transfersDirk Engling
2024-04-10white spaceDirk Engling
2024-04-07Silence warning on older compilersDirk Engling
2024-04-07Whitespace fixDirk Engling
2024-04-06Return peer from both address families on announceDirk Engling
2024-04-03Prepare opentracker for dual stack capabilitiesDirk Engling
2024-03-31Prevent proxied ips of the wrong flavour to poison our clientsDirk Engling
2024-03-29Allow networks to be used instead of ip addresses when blessing is involvedDirk Engling
2024-03-09Some clients have added the /stats URL as /announce URL and cause a lot of expensive operations. Prevent thatDirk Engling
2021-05-09Fix two issues when splitting an iovec to large iobatchesDirk Engling
2021-04-25Turn mmaps into mallocDirk Engling
2021-04-24Split huge iovecs over multiple io_batchesDirk Engling
2017-04-28break belongs inside the guardDirk Engling
2017-04-28incorporate a more verbose ascii dump, provided by Tom <tom@foscore.com>Dirk Engling
2015-11-25Accept was counted twiceDirk Engling
2013-08-04Fix immediate overwrite in the X-forwarded-for passing case. Thanks to Alexander Luetjen.erdgeist
2012-05-29new flag to enforce gzip even if client did not request itdenis
2012-05-18Add a top100 for most popular torrentserdgeist
2010-08-09Reset http request input array on error caseerdgeist
2010-04-22** struct ot_workstruct gets ritcher (and will become even ritcher soon).erdgeist
This is where we encapsulate all per-request data from peer to hash to peer_id, so that it is available everywhere without passing hundreds of pointers down the stack. Most functions that do work down the stack now accept an ot_workstruct and some flags. So it can end up in the stats/event-handler where it will be the default parameter in the future. ** peer_id is now being copied by default and moved to ot_workstruct So it is available in stats and subsequent functions. ** sync scrape madness is gone SYNC_SCRAPE was intended to sync tracker state that would normally be lost on restarts i.e. downloaded counts per torrent. The way was to push it in the tracker cloud after finding all neighbouring trackers. This is madness. It never was tested and can be done per tracker by fetching stats/mode=statedump from time to time and starting opentracker with the -l option later. ** livesync thread has its own ot_workstruct now So it can behave like ot_udp and ot_http against trackerlogic.c and get rid of the first half of the embarrassing global variables. The sending half will be fixed soon [tm]. ** stats can log completed events The author recognizes the needs of original content distributors to keep track of the amount of times a work has been downloaded. While not feasible and used on openbittorrent and other open and anonymous tracker installations, a tracker user can now choose to send those events to syslog.
2010-04-21Fix white spaceserdgeist
2010-04-09Make opentracker's user runtime configurable. Also add more debug output to aid finding problems.erdgeist
2009-12-01Fixed including another error messageerdgeist
2009-11-18Make header parsing more efficient, prepare multithreading and keep-alive.erdgeist
2009-11-16prevent infinite loop when looking for X-Forwarded-For: Headerserdgeist
2009-10-15Reenable statedumperdgeist
2009-09-02Add spotting woodpeckers, thanks to Vasya P. againerdgeist
2009-08-30Temporary feature: log amount of numwants. See if we can save traffic if we reduce max numwant to something less than 200erdgeist
2009-08-29Enable limiting fullscrapes to only every 5 minutes per IPerdgeist
2009-08-26Add some subnet debugging featureserdgeist
2009-07-14Don't default the incoming port to 6881 but rather use 0 to indicate a less than valid announceerdgeist
2009-06-17Allow /stats to be located anywhere in your trackers patherdgeist
2009-06-17Fix statedumperdgeist