Denis Ahrens
6e6504dfcf
[19:19] <eRdgEiSt> Denis: erdgeist ist ein Volltrottel!
16 years ago
Dirk Engling
72175c3205
Dont need arpa/inet
16 years ago
Dirk Engling
a76deb3982
Finally split up the opentracker.c cruft into ot_http.c, ot_accesslist.c and just leave in socket handling and parameter parsing
16 years ago
Denis Ahrens
bfe37ff99b
add scrape stats and small correction to udp stats
16 years ago
Dirk Engling
4e00938ee2
Encforce setting the clock more often. This hopefully fixes a rare bug of g_now not being updated anymore.
16 years ago
Dirk Engling
10ca610952
Missed the second strnstr... fixed.
16 years ago
Dirk Engling
f2bae3a5a2
strnstr is not part of what posix conform libc has to offer... replace it by strstr after cutting off the last byte
16 years ago
Dirk Engling
d44c5bd162
Introducing compression for fullscrapes and tpbs stats
16 years ago
Dirk Engling
469e15de22
Last user of sendmmapdata is gone. Purge it.
16 years ago
Dirk Engling
819f9cc1dd
Sockets do not inherit non-blocking state in libowfat...
16 years ago
Dirk Engling
032224f150
Cleanup now moved to its own thread, too
16 years ago
Dirk Engling
53a7c09bc0
Full scrapes are now being delivered in different modes, as triggered by stats&mode=tpbs
16 years ago
Dirk Engling
e1aa9168b4
introducing multithreaded full scrape creation.
16 years ago
Dirk Engling
2746822a9b
Move dead socket handling from handle_(read,write,timedout) into its own function handle_dead
16 years ago
Dirk Engling
f03b2740dd
Moving accesslist stuff to its own object
16 years ago
Dirk Engling
cc7274b7f8
Moving full scrapes to iovec-creating thread safe function
16 years ago
Dirk Engling
c37d25fd75
The expensive DMEM stats is gone. No need for it, too much potential to DOS.
16 years ago
Dirk Engling
2e2c1762d3
Move stats out of opentracker.c, also have an own file handle udp requests.
16 years ago
Dirk Engling
fed78043a6
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.
16 years ago
Dirk Engling
9ee006d393
Cleaned up stats return format. Also reflect APPI changes due to MT code in trackerlogic.{c,h}
16 years ago
Dirk Engling
472f8469d2
Introduce configuration dependent number of parameters in a nicer way
16 years ago
Dirk Engling
a2f3ab87b0
The last experiment failed. No more accept deferral
16 years ago
Dirk Engling
6c8a69da19
Trying to accept connections only when data has come in. This is an experiment.
16 years ago
Dirk Engling
1b467d186c
Allow for more than one admin ip address
16 years ago
Dirk Engling
66b21d1e28
Add more full scrape stats
16 years ago
Dirk Engling
f37e510592
Reenabled syncing
16 years ago
Dirk Engling
df30bc8484
Number of buckets is 1024 now
...
Clean all torrents now only cleans one bucket at a time
All torrents that are being worked upon in an announce are being cleaned on demoand
torrent's peer lists now keep extra counts for seeds and peers to speed up scrape and announce
Sync has gone for now. I will think up a new way to implement. The old one was way to slow.
16 years ago
Dirk Engling
7075730766
some clients chose to accidently send negative numwants
16 years ago
Dirk Engling
f2f93d093f
Accept clients that forget to spell announce at all...
16 years ago
Dirk Engling
d16c925901
This uTorrent/1600 client requires some... measures :/ I dont like the workaround.
16 years ago
Dirk Engling
8b81b12af6
Now measure the time a clean_all_torrents takes
16 years ago
Dirk Engling
df85d516c8
assume anything looking like GET /a to be an announce...
16 years ago
Dirk Engling
c3eaa46d8f
Last fix was not enough to get rid off those 1600er buggers.
16 years ago
Dirk Engling
75d96f1f50
Work around the stupid utorrent 1600 bug. That'll be removed after a while.
16 years ago
Dirk Engling
9268f32200
Now the Holzhammer: GET /an is announce, GET /sc is scrape. Period.
16 years ago
Dirk Engling
b56035424e
now accept more classes of announce fuckups
16 years ago
Dirk Engling
ec5395b57c
Just one more typo
16 years ago
Dirk Engling
7149cb5600
Just one more typo
16 years ago
Dirk Engling
f1ad491e66
Work around more typos that might end up in torrent files as announce urls
16 years ago
Dirk Engling
d5839b8407
Debug code sometimes copied too much data
16 years ago
Dirk Engling
f2e615720b
Fixed one leak from struct_http
16 years ago
Dirk Engling
5f35e4bef7
Be even more stupidistas-tolerant
16 years ago
Dirk Engling
c69e375393
Fix debug output
16 years ago
Dirk Engling
0da6f316d6
Enable _DEBUG_HTTPERROR to avoid warning...
16 years ago
Dirk Engling
6de5b8544a
Include time since startup in full scrape debug output
16 years ago
Dirk Engling
1a864b16c1
Now limit full scrape to requests sending exactly "GET /scrape HTTP/"
16 years ago
Dirk Engling
d3f8013a18
Introducing multiscrape
16 years ago
Dirk Engling
463aabe5f7
Prevent url-decoding for debug by using a temp buffer
16 years ago
Dirk Engling
33530a2ac6
Those stupid "announce ?info_hash" torrents get really annoying. Fix it in announce and scrape.
16 years ago
Dirk Engling
e0f88d7545
be more verbose about what full scrape consumers deliver in their http requests
16 years ago