484565b6b7clear the freed mempointer
denis
2007-02-01 22:23:56 +0000
4569b9ffdfrelease memory for empty peer pools
erdgeist
2007-02-01 17:01:03 +0000
401d0759abWasted too much space for minimum element count. Now minimum elements in vektor is 16, it grows and shrinks by a factor of 4 and a shrinking hysteresis of a factor of 5
erdgeist
2007-02-01 16:06:17 +0000
9882d74b7eForgot to take into account, that there are OT_POOL_COUNT debuggable pools in one torrent. Fixed.
erdgeist
2007-02-01 15:57:29 +0000
e7f6908fb2Reserved too few space to hold all data for a memdebug
erdgeist
2007-02-01 15:45:24 +0000
bbdc36c518add the scrapes to the valid requests (blue mrtg line)
denis
2007-02-01 15:35:01 +0000
62c59983cbUse multiple output buffers to try to avoid copy on write when unnecessary
erdgeist
2007-02-01 13:30:58 +0000
10a6586ad1Try to shake off too stupid clients by sending an Bittorrent error rather than an HTTP 400
erdgeist
2007-01-31 09:58:32 +0000
6e1ee92de6Use signed size_t wherever appropriate
erdgeist
2007-01-31 09:50:46 +0000
11abb03e85size_t cant get < 0 and thus wont report errors
erdgeist
2007-01-31 02:19:17 +0000
05f0d651cbOn linux time.h must be included to use time()
erdgeist
2007-01-30 21:29:08 +0000
f0ddf30389provide mrtg with more sane strings
erdgeist
2007-01-29 13:41:04 +0000
5a3d6b4029We now answer as soon as the first \n is seen We do not copy input buffer to socket's input array anymore, if we find \n in first buffer We simplified parsing of input string We removed asserts that were needed to debug negative seeder counts We split static input and output buffers for obvious reasons We enlarged static output buffer to prepare multi scrape functionality We removed -lm from Makefile, this lib was only needed, when our random algorithm worked on floats We close fds now that come with an empty iocookie into write loop, those don't make sense We documented query string parser in opentracker.c a lot better to help auditing
erdgeist
2007-01-29 02:02:03 +0000
c094695addaccount downloaded before early returns
erdgeist
2007-01-27 16:06:13 +0000
65675cd4dafix for corrupt fullscrape. did never work until now
denis
2007-01-27 08:57:11 +0000
9c0248ae92announce.php and scrape.php are now being handled
erdgeist
2007-01-26 18:09:14 +0000
05420c40e5Introduce another unspec'd command: sync which syncs the most recent peer pool for a torrent out. Do some variable type clean up. Do some code structure clean up.
erdgeist
2007-01-26 16:26:49 +0000
dffea5da69return random check back intervals to our clients
erdgeist
2007-01-25 14:16:26 +0000
98ed6231e1set the interval to 1800 for announce (last change was only for scrape)
denis
2007-01-19 03:19:12 +0000
908649af98From now the OT_CLIENT_TIMEOUT will be enforced, even if some data arrived inside this interval
erdgeist
2007-01-18 13:06:49 +0000
7c4fcdbd97Tidied main loop do accept() and read() before timeout()
erdgeist
2007-01-18 12:27:17 +0000
ccafcb0ff9Give our server some air to check for timedout connections
erdgeist
2007-01-18 02:40:18 +0000
2ee37881ffRearranged code to try to read data as soon as socket is accepted, also raise backlog for listening socket
erdgeist
2007-01-18 02:23:18 +0000
c16330df6aSimple top5 by peers/seeders table
erdgeist
2007-01-17 17:39:36 +0000
005ff4e231Simple top5 by peers/seeders table
erdgeist
2007-01-17 11:51:55 +0000
4eefe49307Prevent each invocation of clean_peerlist to call time()
erdgeist
2007-01-16 03:57:19 +0000
43b60783a1Use mrtg to do periodical cleanup. Hopefully that wont make too much load for stats.
erdgeist
2007-01-16 03:44:13 +0000
ec531730abDo some timeout checking on the first possible moment
erdgeist
2007-01-16 01:57:06 +0000
745985c726Previous answer to event=stopped irritated some clients. Now reply with a static nothing-message
erdgeist
2007-01-16 01:35:10 +0000
cde935b5bdset interval to default value from original tracker
denis
2007-01-15 23:40:58 +0000
41c307c3b0Cast types for mrtg_scrape sprintf
erdgeist
2007-01-14 20:22:59 +0000
22a0829f94Drop permission, if we can
erdgeist
2007-01-14 20:15:04 +0000
ad6c1b2019New, fixpoint distinct random algorithm for choosing peers from the list... may contain bugs. Feedback welcome
erdgeist
2007-01-13 19:06:39 +0000
25781604c2Dont want ips from query string by default
erdgeist
2007-01-13 19:05:22 +0000
b966435e65Compiles with newest libowfat only
erdgeist
2007-01-12 03:09:56 +0000
f683b7a08etestsuite points to localhost
erdgeist
2007-01-12 01:58:25 +0000
575bf7081fcasting does floor() by itself
erdgeist
2007-01-12 01:22:03 +0000
cb12e922d5Ignore SIGPIPE. This is safe, since it only raises, when the remote site died before we could send our paket back and is catched by write() returning -1
erdgeist
2007-01-10 16:42:39 +0000
74a7fbd6feFixed a bug where I didn't replace new buffer pointer after realloc. Fixed a bug where I didnt copy enough memory when shrinking vectors. Now save some extra bytes in header.
erdgeist
2007-01-09 06:30:37 +0000
8ecfe9a36fNow we also check, if no io happens
erdgeist
2007-01-08 05:23:04 +0000
33eaf54da7simplified binary_search, it always does a memcmp. began to implement dump knowledge
erdgeist
2007-01-04 16:14:21 +0000
e0a9c2a4aaAdded option to get ip from query string + parser, fixed two bugs concerning grow/shrink of vectors. Now cleans up a torrent BEFORE trying to remove a peer -> this may remove peer already and must be done anyway.
erdgeist
2007-01-03 05:11:48 +0000
f40b373c3bRemove some integer constants from code. Bad coder. Very bad coder :/
erdgeist
2006-12-19 18:09:56 +0000
c87389f929Now every answer goes in one buffer
erdgeist
2006-12-19 18:01:28 +0000
f406961fe0Try early answers
erdgeist
2006-12-16 18:46:11 +0000