Dirk Engling
|
cec9b44738
|
Make mutex_lock_bucket_by_hash generic to any OT_BUCKET_COUNT
|
14 years ago |
Dirk Engling
|
d46a8a5d06
|
Forgot one define READ32
|
14 years ago |
Dirk Engling
|
545dab2c18
|
Tidy up unnecessary includes
|
14 years ago |
Dirk Engling
|
55af66acb2
|
Add specialized vector functions to handle peers in sorted lists
Assume that compare_size is a mulptiple of 4 in all non-specialized cases and load int32_t to compare.
|
14 years ago |
Dirk Engling
|
efe40b2726
|
Let's give a damn about syntactical correctness of peer's http strings. It's too expensive on both sides to check and to reject.
|
14 years ago |
Dirk Engling
|
d5caa5786b
|
Now enforce that peers do not come back before our interval by giving out a 'min interval' in responses.
|
14 years ago |
Dirk Engling
|
d021d86940
|
printf is buffered, write not. Use printf for all.
|
14 years ago |
Dirk Engling
|
69f4646df3
|
fix size of 0 issue
|
14 years ago |
Dirk Engling
|
7eb5341c78
|
Add debug code to spot peers that come back too early
|
14 years ago |
Dirk Engling
|
b8d15fe766
|
Add debug code to store peer id
|
14 years ago |
Dirk Engling
|
a6afcf8ab8
|
New peer flag to see, whether peer came from announce or sync
|
14 years ago |
Dirk Engling
|
384028829b
|
Aid spotting bad clients...
|
14 years ago |
Denis Ahrens
|
8614b83456
|
stats fuer sync
|
14 years ago |
Dirk Engling
|
dcf8454138
|
Live Sync for peers that do not come back too early.
|
14 years ago |
Dirk Engling
|
c0dab929ab
|
The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.
|
14 years ago |
Dirk Engling
|
90217a63e5
|
Bugfix: Number of Pools << Number of Buckets
|
14 years ago |
Dirk Engling
|
ca82945307
|
Try to use much less memory and hope for speedups
|
14 years ago |
Dirk Engling
|
19dcaa82f5
|
Spread the amount of time spent in cleanup about 2 minutes
|
14 years ago |
Dirk Engling
|
9384f6494b
|
Add stats about when peers renew their announces.
|
14 years ago |
Dirk Engling
|
18d338ce40
|
Never let vectors shrink below their minimal capacity
|
14 years ago |
Dirk Engling
|
49c5139acf
|
Formatting
|
14 years ago |
Dirk Engling
|
c8daa7bf86
|
Add stats about when peers renew their announces.
|
14 years ago |
Dirk Engling
|
7dcd727ce6
|
Whitespace fixes
|
14 years ago |
Denis Ahrens
|
32477fb1ba
|
fixed typo
|
14 years ago |
Dirk Engling
|
71b2ffcaa6
|
Fix stats parse code to allow modes with more than 4 characters. Wir wurden ja langsam zum Gespoett der Leute.
|
14 years ago |
Dirk Engling
|
022f3e7455
|
First vector has size 1, not 0 in debug vector
|
14 years ago |
Dirk Engling
|
02a10e8849
|
Fix: blacklist and whitelist config option parsing code was the wrong way
|
14 years ago |
Dirk Engling
|
b3d596c243
|
Document WANT_RESTRICT_STATS in sample config file
|
14 years ago |
Dirk Engling
|
53ce461698
|
Enable stats restricting config file option
|
14 years ago |
Dirk Engling
|
6e77c03281
|
Tidy up stats task.
|
14 years ago |
Dirk Engling
|
55cc5df1b7
|
Move more complicated stats code to its own thread
|
14 years ago |
Dirk Engling
|
ee330be078
|
Introduce vector debuggin code and stats restriction options
|
14 years ago |
Dirk Engling
|
55632a2dca
|
Add code to debug vector code performance.
|
14 years ago |
Denis Ahrens
|
71bffcabab
|
fixed the length
|
14 years ago |
Dirk Engling
|
7a180be215
|
release pools only after all other services have been stopped.
|
14 years ago |
Dirk Engling
|
344067166c
|
Fix debug output for addresses >127
|
14 years ago |
Dirk Engling
|
14f0a3ceea
|
Reverting last commit. Debug effect not seen.
|
14 years ago |
Dirk Engling
|
aa7f40b77c
|
Add config option for naming threads
|
14 years ago |
Dirk Engling
|
ad7c574c0e
|
allow threads to be named. not posix compliant.
|
14 years ago |
Denis Ahrens
|
779df22409
|
only sync when the peer is actually added to the first pool. this saves ca. 40% syncdata
|
14 years ago |
Dirk Engling
|
e88a799172
|
Bugfix: API change missed in two points, when calling return_peers_for_torrent. is_tcp was replaced by FLAG_TCP or FLAG_UDP
|
14 years ago |
Dirk Engling
|
3e0cec3269
|
Bugfix: overwrote bencoded data with udp reply data when sending an event=stopped
|
14 years ago |
Dirk Engling
|
a564fd4b0c
|
A new config file option to connect to tcp and udp at once has been added. Also some clarifications have been put into the sample config file.
|
14 years ago |
Dirk Engling
|
2b6ce1a704
|
Futher clean up config file documentation
|
14 years ago |
Dirk Engling
|
025536fa11
|
Add some explanations about the implicite :6969 and the ancient tracker sync format
|
14 years ago |
Dirk Engling
|
a5b6909757
|
document the new config file feature.
|
14 years ago |
Dirk Engling
|
5f7e2dafaa
|
Make ot_try_bind local again.
|
14 years ago |
Dirk Engling
|
0ded14be37
|
Live sync is now handled in its own thread. Therefore it now creates and handles its own sockets.
|
14 years ago |
Dirk Engling
|
0903ac4387
|
Make ot_try_bind local again. Also dont handle multi cast udp packets in opentracker.c, ot_livesync.c does it by itself.
|
14 years ago |
Dirk Engling
|
303e08e7c1
|
Cosmetics
|
14 years ago |