-
fae/she @heartles@egirls.gay on fedi
- Joined on
2022-08-05
After switching to using the send() syscall instead of write(), the crashes don't occur anymore. Still need to do some work to clean this fix up.
I've tracd it down to happening when connections are closed too quickly. Steps that I used to reproduce the issue on my machine:
- Open up the index page in a web browser
- Hold down F5 in the…
more generally we ought to use timeouts when reading data anyway
Current progress: working on a templating engine to power this. Initial attempts of jury-rigging something with std.fmt proved unsuccessful, and it's probably for the best anyway.
Generally my thought re: api stuff is that I think the way other servers did it has it right, with just treating follow requests as their own resource in themselves and scrapping REST for a more…
This is partly implemented right now but it's missing a mechanism for follow requests, and I don't like the API. Leaving this issue open until its resolved.
I'm putting the "waiting for zig 0.11" tag on this but we might be able to push this up. Reconsider this in a later release, we might be able to do it before async/await gets released in the…