1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-26 06:36:26 +00:00

702 Commits

Author SHA1 Message Date
Dirk Engling
62807ad205 deflatePending ist not available everywhere. Just treat the (very rare) case of some data being left over like all other reallocatables 2024-04-15 17:58:34 +02:00
Dirk Engling
806a6b99cf time_caching_worker never returns, but if it would, it should return a value 2024-04-15 17:34:06 +02:00
Dirk Engling
a6c4766348 define _GNU_SOURCE to silence warning about asprintf 2024-04-15 16:44:07 +02:00
Dirk Engling
a4161f911f Use bzero instead of the new iob_init for older libowfats 2024-04-15 16:38:37 +02:00
Dirk Engling
e0cd3b1831 fix: git version string is not yet available 2024-04-15 15:26:15 +02:00
Dirk Engling
6cdebf31ac Remove warning 2024-04-15 15:20:34 +02:00
Dirk Engling
f8637baaeb Allow the use of iob_init if the new libowfat is not yet available 2024-04-15 15:20:21 +02:00
Dirk Engling
b1606fd37e clang-format 2024-04-15 00:44:16 +02:00
Dirk Engling
7a48a69345 clang-format 2024-04-15 00:41:43 +02:00
Dirk Engling
7c633c259e clang-format 2024-04-15 00:39:02 +02:00
Dirk Engling
4c5935c057 Formatter description 2024-04-14 22:43:20 +02:00
Dirk Engling
7428c12e5d Spelling 2024-04-14 17:34:03 +02:00
Dirk Engling
464038a091 print when RANDOMTORRENTS were created (fix) 2024-04-14 17:33:24 +02:00
Dirk Engling
4dcb75a736 print when RANDOMTORRENTS were created 2024-04-14 17:32:52 +02:00
Dirk Engling
0ce6c42aaa print when RANDOMTORRENTS were created 2024-04-14 17:32:18 +02:00
Dirk Engling
04e0eca0a0 Make the amount of random torrents a tunable 2024-04-14 17:31:16 +02:00
Dirk Engling
cab821f253 Silence warning in debug code 2024-04-14 13:14:00 +02:00
Dirk Engling
236c9292f6 gzip fullscrapes by default now 2024-04-14 13:13:47 +02:00
Dirk Engling
4ff25fc9c6 Revert b8ee3dfec11d1c66bee614bfab171ada9fc2bb78 2024-04-14 13:12:27 +02:00
Dirk Engling
6ae819ae10 remove debug fprintfs used to catch a bug 2024-04-14 13:12:11 +02:00
Dirk Engling
b8ee3dfec1 Use the HELPLINE macro for help lines 2024-04-14 13:09:41 +02:00
Dirk Engling
fceffdefba Call io_dontwantread only once on a socket 2024-04-14 05:12:42 +02:00
Dirk Engling
f4a389da3f Merge branch 'chunked-transfers' of erdgeist.org:opentracker into chunked-transfers 2024-04-13 19:22:42 +02:00
Dirk Engling
0e9cc66de2 Cancel chunked transfers on dead sockets, too 2024-04-13 19:22:36 +02:00
Dirk Engling
79f5e272aa white space 2024-04-13 16:56:51 +02:00
Dirk Engling
57f859728d Initialise io_batches with their appropiate init function 2024-04-13 16:54:44 +02:00
Dirk Engling
a3d27dff8c Remove unused macro 2024-04-13 16:54:20 +02:00
Dirk Engling
638ca0f56c Use asprintf to allocate header instead of fixed array 2024-04-13 16:53:29 +02:00
Dirk Engling
3a2a711a29 Fix type warnings in debug strings 2024-04-13 16:52:46 +02:00
Dirk Engling
bd4992435c Add proper parsing for the gzip content encoding 2024-04-13 14:04:18 +02:00
Dirk Engling
35f55290f3 Make chunked transfers use gzip also 2024-04-13 12:51:04 +02:00
Dirk Engling
2eeae0a65a Allow opentracker to start with a random set of torrents for debugging purposes 2024-04-13 12:26:08 +02:00
Dirk Engling
3a6d99dd46 Better track current iobatch 2024-04-13 02:54:08 +02:00
Dirk Engling
1a70d9f9ef First shot on chunked transfers 2024-04-13 00:47:29 +02:00
Dirk Engling
301faeb10c Start an extra thread to update timer cache. Using signals was unnecessary 2024-04-12 18:10:31 +02:00
Dirk Engling
52d9829f81 Reserve enough memory to hold all peer timeout buckets 2024-04-10 01:13:59 +02:00
Dirk Engling
1b976863fc white space 2024-04-10 00:25:45 +02:00
Dirk Engling
ffa7b81690 Only query torrents if we actually found one 2024-04-09 02:50:45 +02:00
Dirk Engling
18a746b89d report full peer and seed count for both address families 2024-04-07 21:29:36 +02:00
Dirk Engling
aedd7e30cb Silence warning on older compilers 2024-04-07 00:37:38 +02:00
Dirk Engling
18554498c2 Whitespace fix 2024-04-07 00:06:54 +02:00
Dirk Engling
b7b84bdec4 Number of reported removed peers was too high, correct it by size of peer 2024-04-07 00:06:27 +02:00
Dirk Engling
db28465e0c if copying seeders from behind, use compare_size to advance pointer 2024-04-06 21:35:15 +02:00
Dirk Engling
d9a5f04675 Return peer from both address families on announce 2024-04-06 19:21:03 +02:00
Dirk Engling
880d5145a0 Avoid incompatible pointer type warning 2024-04-06 00:55:24 +02:00
Dirk Engling
29784f1f41 Add stddef header 2024-04-06 00:29:45 +02:00
Dirk Engling
b4d948696d Improve example for proxy network addresses 2024-04-05 22:52:18 +02:00
Dirk Engling
9000f5d67a minor cleanups. Breaks proxy.c 2024-04-05 22:44:30 +02:00
Dirk Engling
524d78d6c7 constify 2024-04-05 16:30:02 +02:00
Dirk Engling
64e25b681c Ignore object files 2024-04-05 03:30:00 +02:00