Dirk Engling
d3985b00b5
Remove CVS version tags, they did not work anymore after moving to git
2024-04-16 16:18:53 +02:00
Dirk Engling
7c633c259e
clang-format
2024-04-15 00:39:02 +02:00
Dirk Engling
6ae819ae10
remove debug fprintfs used to catch a bug
2024-04-14 13:12:11 +02:00
Dirk Engling
3a2a711a29
Fix type warnings in debug strings
2024-04-13 16:52:46 +02:00
Dirk Engling
1a70d9f9ef
First shot on chunked transfers
2024-04-13 00:47:29 +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
524d78d6c7
constify
2024-04-05 16:30:02 +02:00
Dirk Engling
9275eb3f82
Clean up pointer to task object
2024-04-01 00:52:34 +02:00
Dirk Engling
9f08041585
Fix tasklist iterators
2024-03-08 16:59:26 +01:00
Dirk Engling
397cd035a4
Turn mmaps into malloc
2021-04-25 18:23:00 +02:00
Dirk Engling
7c905ba729
De-bottleneck mutex access code
2021-04-19 03:25:18 +02:00
erdgeist
877e3cfbb0
Remove unnecessary =NULL initialization of static pointers.
2009-06-17 15:07:38 +00:00
erdgeist
9297967f85
Add a stat option the count bucket stalls
...
Add an iterator for all torrents. It's slower but for stats it's okay.
Move some stats collection stuff to the new iterator. More to come.
Start a "report all stats" page.
Start fixing the code to identify "busy" networks.
Add the concept of hosts allowed to proxy.
Add a parser for the X-Forwarded-For: HTTP header.
Clean up HTTP Header handling code. (Remove some left overs of now vanished sync code).
2009-03-04 14:35:21 +00:00
erdgeist
f1ce4ea499
unify lock and unlock code style
2009-02-10 14:49:11 +00:00
erdgeist
f12fa4c362
Use a self pipe to wake from io_wait when a thread finished his work.
2009-01-16 02:26:50 +00:00
erdgeist
66c906d5d3
Add comments, rename our struct http_data h to cookie, all clientsockets to sock, all size_t from socket_recvs to byte_count. Make signal handler set default handler for the second SIGINT
2009-01-15 23:01:36 +00:00
erdgeist
131211b4da
V6
2009-01-13 22:41:17 +00:00
erdgeist
8bdc0d73f6
Make opentracker ANSI C again.
2009-01-03 03:25:37 +00:00
erdgeist
2df09905f5
* opentracker now drops permissions in correct order and really chroots() if ran as root
...
* lock passing between add_peer_to_torrent and return_peers_for_torrent is now avoided by providing a more general add_peer_to_torrent_and_return_peers function that can be used with NULL parameters to not return any peers (in sync case)
* in order to keep a fast overview how many torrents opentracker maintains, every mutex_bucket_unlock operation expects an additional integer parameter that tells ot_mutex.c how many torrents have been added or removed. A function mutex_get_torrent_count has been introduced.
2009-01-02 08:57:53 +00:00
erdgeist
a9ab9b0c0d
Make all torrents in their buckets sorted again.
2008-12-08 02:23:21 +00:00
erdgeist
256f2c6f98
Make mutex_lock_bucket_by_hash generic to any OT_BUCKET_COUNT
2008-12-06 00:41:12 +00:00
erdgeist
334c6e4bbb
The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.
2008-11-28 22:21:10 +00:00
erdgeist
daaee855b2
Whitespace fixes
2008-10-28 01:27:22 +00:00
denis
55d03b9a1b
fixed typo
2008-10-28 00:30:08 +00:00
erdgeist
c28cf398fd
Introduce some kind of versioning
2007-12-20 05:59:34 +00:00
erdgeist
b0e4ebbbf2
Simplify includes
2007-12-03 00:52:05 +00:00
erdgeist
4bf12406fb
Introducing compression task flags
2007-11-22 04:38:25 +00:00
erdgeist
e9d49af9fa
Tested for a too strict condition, we do need the correct tasktype AND an empty taskid, not the other way around
2007-11-20 02:55:13 +00:00
erdgeist
49ba269b9d
Cleanup now moved to its own thread, too
2007-11-19 21:10:53 +00:00
erdgeist
9cd6e355be
Reflect new task-classes model in mutex queue
2007-11-18 16:46:34 +00:00
erdgeist
d3963803ca
tasklist code now tested in a multi threaded environment.
2007-11-15 03:35:03 +00:00
erdgeist
cf26f2ab23
Introducing the workqueue
2007-11-14 12:59:58 +00:00
erdgeist
8900cc0dd9
No one can get access to buckets now without locking them. Also split up the trackerlogic.c-monster in functional sub-units. HEADS UP: this code is untested and not considered stable.
2007-11-06 11:58:32 +00:00
erdgeist
5749f1d8fe
Rename source files in an ot_ fashion
2007-11-06 10:41:14 +00:00