| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 14 hours | Make tcp worker multithreaded, too | Dirk 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. | |||
| 30 hours | Add test for new config params | Dirk Engling | |
| 37 hours | Fix idle tests in presence of an accept filter | Dirk Engling | |
| 2 days | Check for free port in the udp integration test, also speed it up by a bit | Dirk Engling | |
| 2 days | Consolidate all tcp/http tear down into a single http_close function to prevent a rare UAF for expiring connections | Dirk Engling | |
| 3 days | With more workers blockingly waiting on udp sockets, we need to keep track of all sockets to shut them down on exit | Dirk Engling | |
| 4 days | The main event loop(s) now also catch an EINTR and return instead of blocking | Dirk Engling | |
| 4 days | Add concurrency test | Dirk Engling | |
| 5 days | Add test for the revived keep alive | Dirk Engling | |
| 5 days | Fix some tests to match retired stats modes and wrong config file ordering | Dirk Engling | |
| 5 days | Add test for the correct order of partial scrapes | Dirk Engling | |
| 5 days | Add test for the error packet when a hash is blacklisted (the part I forgot in last commit) | Dirk Engling | |
| 5 days | Add test for the error packet when a hash is blacklisted | Dirk Engling | |
| 5 days | Add new test for connection keep alive | Dirk Engling | |
| 5 days | retrieve the address of the sending socket for comparison. In jails it might be forced to its primary address | Dirk Engling | |
| 5 days | Adding the actual tests to do aforementioned 'Massively increase coverage by pulling fullscrapes and sending udp packets' | Dirk Engling | |
| 5 days | Massively increase coverage by pulling fullscrapes and sending udp packets | Dirk Engling | |
| 5 days | add more checkers to the sanitizer and integration check runs | Dirk Engling | |
| 5 days | Add integration test and its runner | Dirk Engling | |
