Dirk Engling
bd4992435c
Add proper parsing for the gzip content encoding
8 months ago
Dirk Engling
35f55290f3
Make chunked transfers use gzip also
8 months ago
Dirk Engling
2eeae0a65a
Allow opentracker to start with a random set of torrents for debugging purposes
8 months ago
Dirk Engling
3a6d99dd46
Better track current iobatch
8 months ago
Dirk Engling
1a70d9f9ef
First shot on chunked transfers
8 months ago
Dirk Engling
301faeb10c
Start an extra thread to update timer cache. Using signals was unnecessary
8 months ago
Dirk Engling
52d9829f81
Reserve enough memory to hold all peer timeout buckets
9 months ago
Dirk Engling
1b976863fc
white space
9 months ago
Dirk Engling
ffa7b81690
Only query torrents if we actually found one
9 months ago
Dirk Engling
18a746b89d
report full peer and seed count for both address families
9 months ago
Dirk Engling
aedd7e30cb
Silence warning on older compilers
9 months ago
Dirk Engling
18554498c2
Whitespace fix
9 months ago
Dirk Engling
b7b84bdec4
Number of reported removed peers was too high, correct it by size of peer
9 months ago
Dirk Engling
db28465e0c
if copying seeders from behind, use compare_size to advance pointer
9 months ago
Dirk Engling
d9a5f04675
Return peer from both address families on announce
9 months ago
Dirk Engling
880d5145a0
Avoid incompatible pointer type warning
9 months ago
Dirk Engling
29784f1f41
Add stddef header
9 months ago
Dirk Engling
b4d948696d
Improve example for proxy network addresses
9 months ago
Dirk Engling
9000f5d67a
minor cleanups. Breaks proxy.c
9 months ago
Dirk Engling
524d78d6c7
constify
9 months ago
Dirk Engling
64e25b681c
Ignore object files
9 months ago
Dirk Engling
83a0a108e0
Merge branch 'dualstack-opentracker' of erdgeist.org:opentracker into dualstack-opentracker
9 months ago
Dirk Engling
a09609d94e
Enable live syncing v6 peers
9 months ago
Dirk Engling
8ccf4b43d7
gcc is no longer default cc
9 months ago
Dirk Engling
308e91a2fa
-pthread needs to be in CFLAGS
9 months ago
Dirk Engling
9f615bbebf
-pthread is the only necessary linker option for pthread API
9 months ago
Dirk Engling
959e0912a1
Bind dual stack by default
9 months ago
Dirk Engling
7c3279a028
Allow binding to v4 and v6 addresses always
9 months ago
Dirk Engling
2afc4893bf
Prepare opentracker for dual stack capabilities
9 months ago
Dirk Engling
eb8834f778
Move further towards dual stack capable opentracker, name more constants
9 months ago
Dirk Engling
9275eb3f82
Clean up pointer to task object
9 months ago
Dirk Engling
73e839f5ff
Tidy up v6 handler
9 months ago
Dirk Engling
aca3ee0ac8
Prevent proxied ips of the wrong flavour to poison our clients
9 months ago
Dirk Engling
5b98dcf3a3
Limit ipv6 udp replies to an amount that does not create too large UDP packets. Credits to anonymous donor
9 months ago
Dirk Engling
a3251ffac7
mask bits to be checked in ot_net
9 months ago
Dirk Engling
5805fe5f86
Dont take address of address
9 months ago
Dirk Engling
543ab73017
Allow networks to be used instead of ip addresses when blessing is involved
9 months ago
Dirk Engling
ede702c7ff
Add docs about reverse proxies
10 months ago
Dirk Engling
6604d65779
Some clients have added the /stats URL as /announce URL and cause a lot of expensive operations. Prevent that
10 months ago
Dirk Engling
9f08041585
Fix tasklist iterators
10 months ago
Dirk Engling
384799b5b3
Merge branch 'master' into erdgeist-fix-top10-stats
10 months ago
Dirk Engling
4baec2592c
handle -1 length reads properly
10 months ago
Dirk Engling
9c98e1e775
Remember hash and not torrent pointer for use after releasing the lock on torrent vector
10 months ago
Dirk Engling
cc24e1ab2d
Add error if WANT_DYNAMIC_ACCESSLIST is enabled without any accesslist
2 years ago
Dirk Engling
6e591d7437
Add atomicity qualifier
2 years ago
Dirk Engling
f62398c748
Clean accesslists every five minutes
2 years ago
Dirk Engling
be825f5759
Add support for dynamic accesslists
2 years ago
Dirk Engling
110868ec4e
Fix return code check inversion introduced in last commit
3 years ago
Dirk Engling
e89905166c
Mark return code of write() as intentionally unused
3 years ago
Romain Porte
019d58d154
fix implicit fallthrough spelling
...
This commit fixes the syntax of the implicit fallthrough comments, in
order to be matched by GCC (and probably other compilers as well) with
the following regular expression:
[ \t.!]*([Ee]lse,? |[Ii]ntentional(ly)? )? fall(s | |-)?thr(ough|u)[
\t.!]*(-[^\n\r]*)?
See: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-fallthrough=
3 years ago