87 Commits (master)

Author SHA1 Message Date
Dirk Engling e8d385f176 Move _GNU_SOURCE declaration further to the top, so recursive inclusion of stdio does not ignore the macro 2 months ago
Dirk Engling 33bd2c9094 Add support for zstd 2 months ago
Dirk Engling 160ba08074 Only have huge downloads (aka chunked) be application/octet-stream 2 months ago
Dirk Engling b56e648b5e Let our fullscrapes have a binary content-type 2 months ago
Dirk Engling ff03fd7449 chrome does not accept chunked gzip encoding for http/1.0 protocol version 2 months ago
Dirk Engling d3985b00b5 Remove CVS version tags, they did not work anymore after moving to git 2 months ago
Dirk Engling a6c4766348 define _GNU_SOURCE to silence warning about asprintf 2 months ago
Dirk Engling a4161f911f Use bzero instead of the new iob_init for older libowfats 2 months ago
Dirk Engling f8637baaeb Allow the use of iob_init if the new libowfat is not yet available 2 months ago
Dirk Engling 7c633c259e clang-format 2 months ago
Dirk Engling 6ae819ae10 remove debug fprintfs used to catch a bug 2 months ago
Dirk Engling fceffdefba Call io_dontwantread only once on a socket 2 months ago
Dirk Engling 57f859728d Initialise io_batches with their appropiate init function 2 months ago
Dirk Engling a3d27dff8c Remove unused macro 2 months ago
Dirk Engling 638ca0f56c Use asprintf to allocate header instead of fixed array 2 months ago
Dirk Engling 3a2a711a29 Fix type warnings in debug strings 2 months ago
Dirk Engling bd4992435c Add proper parsing for the gzip content encoding 2 months ago
Dirk Engling 3a6d99dd46 Better track current iobatch 2 months ago
Dirk Engling 1a70d9f9ef First shot on chunked transfers 2 months ago
Dirk Engling 1b976863fc white space 2 months ago
Dirk Engling aedd7e30cb Silence warning on older compilers 2 months ago
Dirk Engling 18554498c2 Whitespace fix 2 months ago
Dirk Engling d9a5f04675 Return peer from both address families on announce 2 months ago
Dirk Engling 2afc4893bf Prepare opentracker for dual stack capabilities 2 months ago
Dirk Engling aca3ee0ac8 Prevent proxied ips of the wrong flavour to poison our clients 3 months ago
Dirk Engling 543ab73017 Allow networks to be used instead of ip addresses when blessing is involved 3 months ago
Dirk Engling 6604d65779 Some clients have added the /stats URL as /announce URL and cause a lot of expensive operations. Prevent that 3 months ago
Dirk Engling 3168071175 Fix two issues when splitting an iovec to large iobatches 3 years ago
Dirk Engling 397cd035a4 Turn mmaps into malloc 3 years ago
Dirk Engling 95f1780f0b Split huge iovecs over multiple io_batches 3 years ago
Dirk Engling 9c7be324f5 break belongs inside the guard 7 years ago
Dirk Engling d1e6e4486c incorporate a more verbose ascii dump, provided by Tom <tom@foscore.com> 7 years ago
Dirk Engling a215479d1a Accept was counted twice 9 years ago
erdgeist 954f5029df Fix immediate overwrite in the X-forwarded-for passing case. Thanks to Alexander Luetjen. 11 years ago
denis 7d36ea2732 new flag to enforce gzip even if client did not request it 12 years ago
erdgeist 05e0de1a5f Add a top100 for most popular torrents 12 years ago
erdgeist 730d4bb6ae Reset http request input array on error case 14 years ago
erdgeist d42bf5a031 ** struct ot_workstruct gets ritcher (and will become even ritcher soon). 14 years ago
erdgeist 3baa1abc56 Fix white spaces 14 years ago
erdgeist 85e6880233 Make opentracker's user runtime configurable. Also add more debug output to aid finding problems. 14 years ago
erdgeist a7cd2084df Fixed including another error message 15 years ago
erdgeist f3c0359876 Make header parsing more efficient, prepare multithreading and keep-alive. 15 years ago
erdgeist 1665c54179 prevent infinite loop when looking for X-Forwarded-For: Headers 15 years ago
erdgeist c27631e516 Reenable statedump 15 years ago
erdgeist 0bf88427c6 Add spotting woodpeckers, thanks to Vasya P. again 15 years ago
erdgeist 4c4303a156 Temporary feature: log amount of numwants. See if we can save traffic if we reduce max numwant to something less than 200 15 years ago
erdgeist 478884660f Enable limiting fullscrapes to only every 5 minutes per IP 15 years ago
erdgeist 6073127ad0 Add some subnet debugging features 15 years ago
erdgeist 3afbbc37d0 Don't default the incoming port to 6881 but rather use 0 to indicate a less than valid announce 15 years ago
erdgeist 65d7d9b89c Allow /stats to be located anywhere in your trackers path 15 years ago