summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
5 daysStart live sync where main knows the state file is inDirk Engling
5 daysRead the accesslist before any consumer consults itDirk Engling
5 daysFix: Restoring a state file doubled every completed countDirk Engling
5 daysTake the clock off the wallDirk Engling
5 daysClamp every elapsed time span at zero, using a set of helper functionsDirk Engling
7 daysRefuse to start on a listen statement that does not parseDirk Engling
7 daysRefuse to start on a livesync.cluster.group that is not oneDirk Engling
7 daysLet a user pick their cluster's own multicast groupDirk Engling
8 daysLet a tracker with live sync built in run without a clusterDirk Engling
8 daysGive the live sync worker a real workstructDirk Engling
8 daysAdd integration tests for live syncDirk Engling
8 daysRetire old perl backend to the proxy, but don't delete it yetDirk Engling
8 daysTurn the bucket count into a knob, but keep cleaner wake-ups at a constant rateDirk Engling
8 daysSweep the obsolete CVS Id keyword out of the treeDirk Engling
9 daysRemove tracker id from stats, as wellDirk Engling
9 daysRemove version string from what is reported over httpDirk Engling
9 daysadd test for the version report fascilitiesDirk Engling
9 daysPrepare a versioning mechanism for the tracker that works from tarballsDirk Engling
9 daysLive logging networks was defunc for a while, does not work with v6, so we remove itDirk Engling
10 daysAdd some tests for the actual trackerlogic, something I put off for too longDirk Engling
10 daysAdd tests for the ot_mutex code, it didn't have any until nowDirk Engling
10 daysMake the dynamic accesslist readers release their line buffer and properly exitDirk Engling
10 daysRefactor ot_workqueue out of ot_mutex, no behaviour changeDirk Engling
10 daysMake tcp worker multithreaded, tooDirk Engling
This shamelessly steals the model established in the UDP workers, i.e. if the kernel is able to bind multiple listening sockets to the same endpoint, we will share them across threads. If it can't, all threads will accept on the same socket. The fast path handles most of the connections, only the rare case of no data yet on the socket is offloaded to the slow path (which used to be the mainloop) for completion. This scales nicely, as the higher the load is, the higher chances are that an accept happens only after the network roundtrip to the peer completes, leading to more connections that already have data waiting for us. We also consolidate the workstruct init and deinit code, preparation for later unifying all thread state structs for all protocols (mca, udc and tcp). The config file gains a per tcp connection worker count and some docs explaining what this knob buys and costs, nudging the user to either keep it 0 or dial it up to at least 2.
11 daysAdd test for new config paramsDirk Engling
11 daysAdd config parsers for multiple tcp socket readers and a helper to see if we can offer it on the platformDirk Engling
11 daysIntroduce a fast path assuming that a tcp connection's payload already has arrived at accept timeDirk Engling
11 daysFix idle tests in presence of an accept filterDirk Engling
11 daysFix expiry tests under the new accept filtersDirk Engling
11 daysDefer accepts until some data actually is thereDirk Engling
12 daysReduce syscalls and add helper to count themDirk Engling
12 daysAdd an http load generatorDirk Engling
12 daysCheck for free port in the udp integration test, also speed it up by a bitDirk Engling
12 daysConsolidate all tcp/http tear down into a single http_close function to prevent a rare UAF for expiring connectionsDirk Engling
13 daysadd wake-up tester that helped figuring out how to tickle hanging udp readersDirk Engling
13 daysRevert last wake-up experiment. Having each udp worker wake up once a second to check if the tracker stops is wastefulDirk Engling
13 daysFix a test that would over-report success rate when losing the race for cycles to the test targetDirk Engling
13 daysWith more workers blockingly waiting on udp sockets, we need to keep track of all sockets to shut them down on exitDirk Engling
13 daysLet the load tester log losses to better gauge performanceDirk Engling
13 daysAdd load tests to sanitize check the trackerlogic, based on udp requestsDirk Engling
14 daysThe main event loop(s) now also catch an EINTR and return instead of blockingDirk Engling
14 daysAdd concurrency testDirk Engling
14 daysAll OSes now do have a cheap monotonic clock, so no caching thread is needed. Also add some relative time helpersDirk Engling
2026-10-27Add test for the revived keep aliveDirk Engling
2026-10-27Fix some tests to match retired stats modes and wrong config file orderingDirk Engling
2026-10-27Add test for the correct order of partial scrapesDirk Engling
2026-10-27Add test for the error packet when a hash is blacklisted (the part I forgot in last commit)Dirk Engling
2026-10-27Add test for the error packet when a hash is blacklistedDirk Engling
2026-10-27Add new test for connection keep aliveDirk Engling
2026-10-27retrieve the address of the sending socket for comparison. In jails it might be forced to its primary addressDirk Engling