Re:Althttpd: Simple webserver in a single C file
by Sohcahtoa82 on Tuesday June 08, 2021 @01:55PM
(#27438581)
I always wanted an HTTP response code for when the server detects a malicious request. Like, 430 DONT BE AN ASSHOLE
[ Parent
| on HN ]
Re:Althttpd: Simple webserver in a single C file
by zbentley on Wednesday June 09, 2021 @10:15AM
(#27448102)
Relatedly, in every C project I've ever worked on, the custom (>255) error code for failures due to malicious looking input that could not possibly have been supplied by mistake is in the const EGETFUCT.