Re:Show HN: Building a web server in assembly to give my lif...
by ksi23 on Wednesday May 13, 2026 @08:15AM
(#48120926)
What was the hardest part, Range header handling or the slowloris mitigations? Both seem like they'd be a nightmare without higher-level state machines.
[ Parent
| on HN ]
Re:Show HN: Building a web server in assembly to give my lif...
by imtomt on Wednesday May 13, 2026 @07:03PM
(#48128777)
slowloris mititgations actually weren't too bad, just a couple syscalls to setitimer(), sigaction(), and setsockopt(). Range header parsing was awful, so was content length. I'd say all in all, probably Range headers. Just string parsing in general is pretty awful in assembly.