Commit Graph

421 Commits (675dad9b3a59a2ca7f1db30df646f8e9bbe3f5fa)
 

Author SHA1 Message Date
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
Dirk Engling 3d3378e6a6 Drop ot_{byte,word,dword} and use uint{8,16,32}_t
16 years ago
Dirk Engling 7df4ce8fc7 Simplify includes
16 years ago
Dirk Engling d577adc79b Move blessed IP handling code to accesslist objects
16 years ago
Dirk Engling 72671f86b8 Move http handling to its own sources
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 b26f91152d Fixed a bug where we forgot to stamp torrents that are not new.
16 years ago
Dirk Engling 82d123a99f XCode-Project. Note: This is PPC only, x86 must be enabled
16 years ago
Dirk Engling 0832973340 Fixed call to deflate() with wrong flag in endgame
16 years ago
Dirk Engling 10ca610952 Missed the second strnstr... fixed.
16 years ago
Dirk Engling b697b68eac Debug settings for chunk size were _way_ to low for production
16 years ago
Dirk Engling 1bbcf71b56 Completely rewritten fullscrape code. All assumptions on how deflate() works were a little naive. Needs more error checking and testing.
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 2624d425da Reflect changes in iovec code in sync code
16 years ago
Dirk Engling 56815b3672 make ot_iovecs fix last interface more sane, also add a convenience function that handles the task of fixing, allocating and - if necessary - freeing
16 years ago
Dirk Engling d44c5bd162 Introducing compression for fullscrapes and tpbs stats
16 years ago
Dirk Engling 00809d596f Introducing compression task flags
16 years ago
Dirk Engling 31c2a9fe03 Make allowing gzip a Makefile tunable
16 years ago
Dirk Engling 7e570f0f60 Fixing mmap allocation went to ot_mutex.c. Clean all torrents moved to ot_clean.c. Also make static buffers static
16 years ago
Dirk Engling 98491c70b6 Fixing mmap allocation went to ot_mutex.c. Also startup new sync thread.
16 years ago
Dirk Engling cbe8f5f382 Reflect changes in multithreaded sync model in header file.
16 years ago
Dirk Engling 0508d5fa1f Make sync generation multithreaded.
16 years ago
Dirk Engling bc22920516 Split sync in and sync out into different tasks
16 years ago
Dirk Engling a8821b42a4 Documentation fix
16 years ago
Dirk Engling 8bf09ff6cb Formatting
16 years ago
Dirk Engling 9df7d28415 static bufs are not shared anymore, even if that means more memory.
16 years ago
Dirk Engling 469e15de22 Last user of sendmmapdata is gone. Purge it.
16 years ago
Dirk Engling 2bdd11fc80 Tested for a too strict condition, we do need the correct tasktype AND an empty taskid, not the other way around
16 years ago
Dirk Engling 191c88394b Make clean_single_torrent return much faster, if nothing is to do
16 years ago
Dirk Engling 819f9cc1dd Sockets do not inherit non-blocking state in libowfat...
16 years ago
Dirk Engling dfe7ba6910 Fullscrape now cleanly finalizes its thread
16 years ago
Dirk Engling 032224f150 Cleanup now moved to its own thread, too
16 years ago
Dirk Engling 7b6b26e7ca Missing include for htonl()
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 f0842a9cc3 Reflect new task-classes model in fullscrape worker
16 years ago
Dirk Engling c4e5c983a5 Reflect new task-classes model in mutex queue
16 years ago
Dirk Engling 92f22d78fa Stats are tasks now, they also come in classes.
16 years ago
Dirk Engling a4fcb52331 Stats are tasks now.
16 years ago
Dirk Engling 690786b762 Forgot to specify -pthread when using threads
16 years ago
Dirk Engling e1aa9168b4 introducing multithreaded full scrape creation.
16 years ago
Dirk Engling 89c7f40a16 tasklist code now tested in a multi threaded environment.
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 adac3bb2ab Introducing the workqueue
16 years ago
Dirk Engling 181afb7892 Increase full scrape chunk size to 1/2meg
16 years ago
Dirk Engling b8e5ab382e Rather embarrasing arithmetic fuckup
16 years ago
Dirk Engling 839a4bcf4d missing include
16 years ago
Dirk Engling f6409aa752 Fix typos in documenation
16 years ago
Dirk Engling 6cfb756fc3 Some in code documentation to make Denis happy :)
16 years ago
Dirk Engling f03b2740dd Moving accesslist stuff to its own object
16 years ago