summaryrefslogtreecommitdiff
path: root/opentracker.c
AgeCommit message (Expand)Author
2026-10-30Defer accepts until some data actually is thereDirk Engling
2026-10-30Enforce the invariant that each socket is only ever expected to be read from or written to, never bothDirk Engling
2026-10-30Reduce syscalls and add helper to count themDirk Engling
2026-10-30Consolidate all tcp/http tear down into a single http_close function to prevent a rare UAF for expiring connectionsDirk Engling
2026-10-29Revert last wake-up experiment. Having each udp worker wake up once a second to check if the tracker stops is wastefulDirk Engling
2026-10-28With more workers blockingly waiting on udp sockets, we need to keep track of all sockets to shut them down on exitDirk Engling
2026-10-28Performance improvement, where it works: Let different udp worker threads have their own socketDirk Engling
2026-10-27The main event loop(s) now also catch an EINTR and return instead of blockingDirk Engling
2026-10-27Plug in the new per-thread stats counter, also make sure that the ot_clean sleep does not stall tracker exitDirk Engling
2026-10-27Turn malloc+memset into callocDirk Engling
2026-10-27Forgot some g_now_seconds occurencesDirk Engling
2026-10-27All OSes now do have a cheap monotonic clock, so no caching thread is needed. Also add some relative time helpersDirk Engling
2026-10-27Revive http keep alive to save tcp connection setup costsDirk Engling
2026-10-26Replace libowfat's event waiter with our own abstractionDirk Engling
2026-10-26Third run of making variable and function names more readable, integer scans and ip parsersDirk Engling
2026-10-26Second run of making variable and function names more readable, urlencoder now matches overall naming schemeDirk Engling
2026-10-26Use new fdstate subsystem to store per fd cookie and timeoutDirk Engling
2026-10-25Factor out the timeout setter, will probably go later once we do the io loop ourselfDirk Engling
2026-10-25Replace libowfat's iobatch with our own smaller (and probably only temporary) ot_batchDirk Engling
2026-10-25Be stricter about const char*, Wwrite-strings will warn in the future and we don't want to try to overwrite string literalsDirk Engling
2026-10-25white space fixesDirk Engling
2026-10-25Split options parsing and config code from opentracker.c, it has grown humongousDirk Engling
2026-10-25Fix build. Last commit was too huge ;)Dirk Engling
2026-10-25Decouple config parsing from binding and worker spawningDirk Engling
2026-10-25Use the new ot_socket abstraction for socket creation, read and writeDirk Engling
2026-10-24Replace custom int64 with its standardized int64_t typeDirk Engling
2026-10-24Replace libowfat's ip scanner and formatters with own ownDirk Engling
2026-10-24Replace libowfat's array with our new blob abstractionDirk Engling
2026-10-24Initialise workstruct for each read, so that stale entries will not linger in http error casesDirk Engling
2026-10-24Use new ranged unsigned int scanner everywhere and squash some bugs along the wayDirk Engling
2026-10-24add missing break in config file parserDirk Engling
2026-10-24Replace all manual hex conversion with the new helperDirk Engling
2026-10-24Use new entropy fascility and add tests for itDirk Engling
2026-10-24Replace endianess helpers and remove unused system and libowfat includedDirk Engling
2026-10-23Rework config file parser and tidy up mem initsDirk Engling
2026-04-03turn all int offsets into size_tDirk Engling
2024-04-16Remove CVS version tags, they did not work anymore after moving to gitDirk Engling
2024-04-15Install default signal handlers before spawning first threadDirk Engling
2024-04-15time_caching_worker never returns, but if it would, it should return a valueDirk Engling
2024-04-15clang-formatDirk Engling
2024-04-14SpellingDirk Engling
2024-04-14print when RANDOMTORRENTS were createdDirk Engling
2024-04-14Make the amount of random torrents a tunableDirk Engling
2024-04-14Revert b8ee3dfec11d1c66bee614bfab171ada9fc2bb78Dirk Engling
2024-04-14remove debug fprintfs used to catch a bugDirk Engling
2024-04-14Use the HELPLINE macro for help linesDirk Engling
2024-04-13Cancel chunked transfers on dead sockets, tooDirk Engling
2024-04-13Fix type warnings in debug stringsDirk Engling
2024-04-13Allow opentracker to start with a random set of torrents for debugging purposesDirk Engling
2024-04-13Better track current iobatchDirk Engling