summaryrefslogtreecommitdiff
path: root/opentracker.c
AgeCommit message (Collapse)Author
2007-01-26Introduce 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 ↵erdgeist
clean up.
2007-01-25return random check back intervals to our clientserdgeist
2007-01-24Code cleanup reindentingerdgeist
2007-01-24backout Revision 1.67denis
2007-01-24workaround for some weird requestsdenis
2007-01-24Denis wanted scrapes and erdgeist didnt give it :)denis
2007-01-24Copy request before expanding url-encoded bytesdenis
2007-01-24Debugging for failed requests.erdgeist
2007-01-23Count successful announces extraerdgeist
2007-01-20FD-debug also in new iob_send patherdgeist
2007-01-20Full scrape, kinda testederdgeist
2007-01-20increase the timeout to make the ride a little smoother for some clientsdenis
2007-01-20-m64 is not usually a correct compile optionerdgeist
2007-01-19Debug file descriptorserdgeist
2007-01-19*seuftz*denis
2007-01-19set the interval to 1800 for announce (last change was only for scrape)denis
2007-01-18From now the OT_CLIENT_TIMEOUT will be enforced, even if some data arrived inside this intervalerdgeist
2007-01-18Tidied main loop do accept() and read() before timeout()erdgeist
2007-01-18Give our server some air to check for timedout connectionserdgeist
2007-01-18Rearranged code to try to read data as soon as socket is accepted, also raise backlog for listening socketerdgeist
2007-01-17Simple top5 by peers/seeders tableerdgeist
2007-01-16Rudimentary statserdgeist
2007-01-16Do some timeout checking on the first possible momenterdgeist
2007-01-16Previous answer to event=stopped irritated some clients. Now reply with a static nothing-messageerdgeist
2007-01-14Cast types for mrtg_scrape sprintferdgeist
2007-01-14Drop permission, if we canerdgeist
2007-01-11Documentation improved, some reindenting (again), variable types checked, unnecessary defines removederdgeist
2007-01-10Ignore 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 -1erdgeist
2007-01-09Fixed 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 ↵erdgeist
extra bytes in header.
2007-01-08Now we also check, if no io happenserdgeist
2007-01-08Some code spacifying. Added actually checking timeouts.erdgeist
2007-01-08Indent. Sorry. Plus timeout on every connection, for every byte we got.erdgeist
2007-01-08This one breaks all ;) Lets see, what happenserdgeist
2007-01-07add timeout for clientserdgeist
2007-01-06shutdown was unnecessaryerdgeist
2007-01-06Apply some limitserdgeist
2007-01-05Be more helpfulerdgeist
2007-01-05added closed tracker and blacklist codeerdgeist
2007-01-05README\!erdgeist
2007-01-03Added 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 ↵erdgeist
-> this may remove peer already and must be done anyway.
2006-12-19Remove some integer constants from code. Bad coder. Very bad coder :/erdgeist
2006-12-19Now every answer goes in one buffererdgeist
2006-12-16Try early answerserdgeist
2006-12-16Missing header fileerdgeist
2006-12-16try shutdown() the socket after writingerdgeist
2006-12-16corrected the modifier for size_tdenis
2006-12-16Fixed two mem leaks from httpd :/erdgeist
2006-12-16Fixed memleak in example httpd :/erdgeist
2006-12-16Made answer http/1.1erdgeist
2006-12-15Division in stats now workserdgeist