Quick dirty bugfix

Sun Nov 23 19:08:41 2025 UTC

Colleagues,

I'm publishing the version 0.0.31 of the FEDAnet sources, which fixes a file descriptor leak in the fedaserv daemon. Long things short, in the previous version, if it works long enough, it runs out of available file descriptors; as a result, it starts to refuse to recognize any remote peers, claiming it doesn't know their nodes (which is wrong; the real cause is that it can't read the appropriate information due to lack of FDs).

The fix is quick and dirty. I found the bug during an unrelated code reworking, and I didn't bother with branches, so I just put all things (hopefully) together again, and here is the new version. It may in fact introduce even more bugs, I only checked my own network of servers to be working with the new version of the code.

More serious refactoring of the code is pending, as the key module named fsrv_rx became overcomplicated and urgently needs to be decomposed, simply to make the code manageable again. I've got no idea how long will this take.