summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2009-01-05* http and udp routines now use thread local buffers passed in workstruct containers. In other words they do not use static_buffer anymore and are ↵erdgeist
considered to be thread safe. * the new workstruct also introduces a well defined buffer and result passing path * a new function scan_find_keywords is a wrapper around scan_urlencoded_query that maps keys in url to values passed in an array of ot_keywords structs * this new function cleans up much of url parameter parsing work, where read_ptr and write_ptr have been introduced rather than the confusing char *c, *data variables * I now use memcmp instead of byte_diff to allow compiler to optimize constant size string compares * got rid of UTORRENT_1600_WORKAROUND * livesync_ticker is now only called from one (currently main) thread to avoid race conditions
2009-01-02Introduce new flag WANT_SYNC_SCRAPEerdgeist
2008-12-03Aid spotting bad clients...erdgeist
2008-11-28The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.erdgeist
2008-10-24Introduce vector debuggin code and stats restriction optionserdgeist
2008-10-07Reverting last commit. Debug effect not seen.erdgeist
2008-10-07Add config option for naming threadserdgeist
2008-10-05Add _DEBUG flag for debug builds. This flag enables some diagnostic messages.erdgeist
2008-10-03Cleaning up Build time options. Also add ot_livesync.[ch]erdgeist
2008-05-07Typo in Makefile, thanks to Steffen.erdgeist
2008-01-17Introducing live busy network detection.erdgeist
2007-12-20But keep Makefile in the libowfat is at ../libowfat state.erdgeist
2007-12-20Introduce some kind of versioningerdgeist
2007-12-03Introduce new ot_http.c and ot_http.herdgeist
2007-11-22Make allowing gzip a Makefile tunableerdgeist
2007-11-16Forgot to specify -pthread when using threadserdgeist
2007-11-12Moving accesslist stuff to its own objecterdgeist
2007-11-12Reflect changes in ot_iovec and ot_fullscrape in Makefileerdgeist
2007-11-06MUST NOT enable features in CVSpico Makefile bad codererdgeist
2007-11-06The expensive DMEM stats is gone. No need for it, too much potential to DOS.erdgeist
2007-11-06Move stats out of opentracker.c, also have an own file handle udp requests.erdgeist
2007-11-06Thank you, GNU for fucking up pmake :)erdgeist
2007-11-06Makefile now builds each object on its own. Thus it can be build with -j2 and highererdgeist
2007-11-06No 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 ↵erdgeist
and not considered stable.
2007-11-03Introducing first tools to make opentracker multithreaded.erdgeist
2007-10-27Number of buckets is 1024 nowerdgeist
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.
2007-10-01Two more bugs in Makefile. Maybe I learn it one dayerdgeist
2007-10-01Revert debug option in Makefileerdgeist
2007-10-01Makefile now runs under bsdmake and gnumake againerdgeist
2007-09-10Makefile defaults to an _open_ tracker again.erdgeist
2007-07-22* fixed "nobody " -> "nobody" fuckup when getpwnam-ingerdgeist
* implemented basic blacklisting: ** the file specified with -b <BLACKLIST> is read and added to a blacklist vector ** if an announce hits a torrent in that blacklist vector, add_peer_to_torrent fails ** sending a SIGHUP to the program forces it to reread the blacklists ** the server returns with a 500, which is not exactly nice but does the job for now ** an adaequat "failure reason:" should be delivered... TODO
2007-04-03New Makefile, incorporated some patches sent to me by Robin H. Johnsonerdgeist
2007-03-17revert previous commitdenis
2007-03-16code cleanup and more specific comments. tracker starts now also with udp port 6969 as defaultdenis
2007-01-29We now answer as soon as the first \n is seenerdgeist
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
2007-01-24Debugging for failed requests.erdgeist
2007-01-20-m64 is not usually a correct compile optionerdgeist
2007-01-19Debug file descriptorserdgeist
2007-01-19set the interval to 1800 for announce (last change was only for scrape)denis
2007-01-13Dont want ips from query string by defaulterdgeist
2007-01-11Documentation improved, some reindenting (again), variable types checked, unnecessary defines removederdgeist
2007-01-06tidy up optionserdgeist
2007-01-05black listing was the wrong way arounderdgeist
2007-01-05added closed tracker and blacklist codeerdgeist
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-16freebsd supportdenis
2006-12-16Fixed two mem leaks from httpd :/erdgeist
2006-12-15Fix port again ;) Include headers in Makefile dependencieserdgeist
2006-12-15fix for freebsddenis
2006-12-14Now actually seems to work for the most partserdgeist
Added scraping Added graceful disconnect