News for hackers. Stuff that matters.
Re:Show HN: Nano-web, a low latency one binary webserver des... by rkeene2 on Monday March 25, 2024 @11:16AM (#39817367)
I wrote filed[0] for this. It is VERY fast in terms of low-latency (it doesn't even open the file its serving if it can help it) -- although it doesn't generate a dynamic directory listing, so it may not meet your needs if you want any dynamic content like that.

[0] https://filed.rkeene.org/

Re:Show HN: Nano-web, a low latency one binary webserver des... by cdaringe on Monday March 25, 2024 @11:56AM (#39817925)
actually readable C. kudos
Re:Show HN: Nano-web, a low latency one binary webserver des... by rkeene2 on Monday March 25, 2024 @02:08PM (#39819483)
Thanks, I've come a long way since my first C programs in the 90s, "sadly" lost to the sands of time. Earliest I can find is [0].

[0] https://rkeene.org/viewer/devel/vmi586/main.c.htm

Re:Show HN: Nano-web, a low latency one binary webserver des... by xprueg on Monday March 25, 2024 @03:00PM (#39820061)
Should "test/plain" be "text/plain" "in mime.types?
Re:Show HN: Nano-web, a low latency one binary webserver des... by rkeene2 on Monday March 25, 2024 @04:44PM (#39821073)
Yes, thank you, it is now fixed :-)