Dirk Engling
d3985b00b5
Remove CVS version tags, they did not work anymore after moving to git
7 months ago
Dirk Engling
7c633c259e
clang-format
7 months ago
Dirk Engling
6ae819ae10
remove debug fprintfs used to catch a bug
7 months ago
Dirk Engling
3a2a711a29
Fix type warnings in debug strings
7 months ago
Dirk Engling
1a70d9f9ef
First shot on chunked transfers
7 months ago
Dirk Engling
18a746b89d
report full peer and seed count for both address families
7 months ago
Dirk Engling
524d78d6c7
constify
7 months ago
Dirk Engling
9275eb3f82
Clean up pointer to task object
7 months ago
Dirk Engling
9f08041585
Fix tasklist iterators
8 months ago
Dirk Engling
397cd035a4
Turn mmaps into malloc
4 years ago
Dirk Engling
7c905ba729
De-bottleneck mutex access code
4 years ago
erdgeist
877e3cfbb0
Remove unnecessary =NULL initialization of static pointers.
16 years ago
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).
16 years ago
erdgeist
f1ce4ea499
unify lock and unlock code style
16 years ago
erdgeist
f12fa4c362
Use a self pipe to wake from io_wait when a thread finished his work.
16 years ago
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
16 years ago
erdgeist
131211b4da
V6
16 years ago
erdgeist
8bdc0d73f6
Make opentracker ANSI C again.
16 years ago
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.
16 years ago
erdgeist
a9ab9b0c0d
Make all torrents in their buckets sorted again.
16 years ago
erdgeist
256f2c6f98
Make mutex_lock_bucket_by_hash generic to any OT_BUCKET_COUNT
16 years ago
erdgeist
334c6e4bbb
The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.
16 years ago
erdgeist
daaee855b2
Whitespace fixes
16 years ago
denis
55d03b9a1b
fixed typo
16 years ago
erdgeist
c28cf398fd
Introduce some kind of versioning
17 years ago
erdgeist
b0e4ebbbf2
Simplify includes
17 years ago
erdgeist
4bf12406fb
Introducing compression task flags
17 years ago
erdgeist
e9d49af9fa
Tested for a too strict condition, we do need the correct tasktype AND an empty taskid, not the other way around
17 years ago
erdgeist
49ba269b9d
Cleanup now moved to its own thread, too
17 years ago
erdgeist
9cd6e355be
Reflect new task-classes model in mutex queue
17 years ago
erdgeist
d3963803ca
tasklist code now tested in a multi threaded environment.
17 years ago
erdgeist
cf26f2ab23
Introducing the workqueue
17 years ago
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.
17 years ago
erdgeist
5749f1d8fe
Rename source files in an ot_ fashion
17 years ago