<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opentracker/trackerlogic.h, branch v2.0.0</title>
<subtitle>An open and free bittorrent tracker
</subtitle>
<id>https://erdgeist.org/gitweb/opentracker/atom?h=v2.0.0</id>
<link rel='self' href='https://erdgeist.org/gitweb/opentracker/atom?h=v2.0.0'/>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/opentracker/'/>
<updated>2026-11-02T20:14:02Z</updated>
<entry>
<title>Move the build sources into src/</title>
<updated>2026-11-02T20:14:02Z</updated>
<author>
<name>Dirk Engling</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-11-02T19:50:24Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/opentracker/commit/?id=ad541c67761b8aa6da1566802c347cac4018d0c2'/>
<id>urn:sha1:ad541c67761b8aa6da1566802c347cac4018d0c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Turn the bucket count into a knob, but keep cleaner wake-ups at a constant rate</title>
<updated>2026-11-02T19:39:26Z</updated>
<author>
<name>Dirk Engling</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-11-02T19:39:26Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/opentracker/commit/?id=8f520e52d7d4081a0835374c7a448116baac64ab'/>
<id>urn:sha1:8f520e52d7d4081a0835374c7a448116baac64ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Sweep the obsolete CVS Id keyword out of the tree</title>
<updated>2026-11-02T15:55:53Z</updated>
<author>
<name>Dirk Engling</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-11-02T15:55:53Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/opentracker/commit/?id=28d6bf03e1bb8c38fb7e09ade3c5a9c58d68182e'/>
<id>urn:sha1:28d6bf03e1bb8c38fb7e09ade3c5a9c58d68182e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Live logging networks was defunc for a while, does not work with v6, so we remove it</title>
<updated>2026-11-01T20:38:11Z</updated>
<author>
<name>Dirk Engling</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-11-01T20:38:11Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/opentracker/commit/?id=451947b7bed5ba6c9c925ceb10df39c42a330614'/>
<id>urn:sha1:451947b7bed5ba6c9c925ceb10df39c42a330614</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make tcp worker multithreaded, too</title>
<updated>2026-10-31T14:59:41Z</updated>
<author>
<name>Dirk Engling</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-10-31T14:59:41Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/opentracker/commit/?id=4d030871c004c917458b5e1c296edcfc689a2e66'/>
<id>urn:sha1:4d030871c004c917458b5e1c296edcfc689a2e66</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Consolidate all tcp/http tear down into a single http_close function to prevent a rare UAF for expiring connections</title>
<updated>2026-10-30T00:00:52Z</updated>
<author>
<name>Dirk Engling</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-10-30T00:00:52Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/opentracker/commit/?id=79f4110365fe85f4377c50f0893134a8d5e45575'/>
<id>urn:sha1:79f4110365fe85f4377c50f0893134a8d5e45575</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert last wake-up experiment. Having each udp worker wake up once a second to check if the tracker stops is wasteful</title>
<updated>2026-10-28T23:53:50Z</updated>
<author>
<name>Dirk Engling</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-10-28T23:53:50Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/opentracker/commit/?id=0f95c7d1056cab5bd8c6334cf601349ac4631457'/>
<id>urn:sha1:0f95c7d1056cab5bd8c6334cf601349ac4631457</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prepare having each thread keep their own stats to avoid data races</title>
<updated>2026-10-27T19:29:22Z</updated>
<author>
<name>Dirk Engling</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-10-27T19:29:22Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/opentracker/commit/?id=166cd9b591464417600035e88993ca4d7e8cd44b'/>
<id>urn:sha1:166cd9b591464417600035e88993ca4d7e8cd44b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>All OSes now do have a cheap monotonic clock, so no caching thread is needed.  Also add some relative time helpers</title>
<updated>2026-10-27T18:15:22Z</updated>
<author>
<name>Dirk Engling</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-10-27T18:15:22Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/opentracker/commit/?id=8fb1c09df1540aa3fca1148bed6a08ffc3090669'/>
<id>urn:sha1:8fb1c09df1540aa3fca1148bed6a08ffc3090669</id>
<content type='text'>
</content>
</entry>
<entry>
<title>replace all calls to sprintf with a format helper that advances a cursor. Also convert the meta-formatter (i.e. results printer) to this scheme</title>
<updated>2026-10-26T21:32:52Z</updated>
<author>
<name>Dirk Engling</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-10-26T21:32:52Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/opentracker/commit/?id=1f9494979268b62ed4b4588fb7d9e790c0e12100'/>
<id>urn:sha1:1f9494979268b62ed4b4588fb7d9e790c0e12100</id>
<content type='text'>
</content>
</entry>
</feed>
