Get the latest tech news

Show HN: Hosting my website using my C web server


Custom web server for my blog. Contribute to cozis/blogtech development by creating an account on GitHub.

I asked Reddit to hack me, which resulted in gigabytes of hilarious and malicious request logs. Linux only Implements HTTP/1.1, pipelining, and keep-alive connections HTTPS support (up to TLS 1.2 using BearSSL) Minimal dependencies (libc and BearSSL when using HTTPS) Configurable timeouts Access logs, crash logs, log rotation, disk usage limits No Transfer-Encoding: Chunked(responds with 411 Length Required, prompting the client to resend with Content-Length) Single core (This will probably change when I get a better VPS) No static file caching (yet) I routinely run the server under valgrind and sanitizers (address, undefined) and target it using wrk.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of website

website

Photo of C web server

C web server

Related news:

News photo

Gaining access to anyones Arc browser without them even visiting a website

News photo

Please stop – putting cookie pop-ups on your website (2022)

News photo

Furry Art Platform Fur Affinity Was Taken Over by Hackers: "Do Not Interact With the Website"