Introducing OpenBSD's new httpd [pdf]
I've been going through the code for the last half hour and I really hope this isn't representative of what the OpenBSD group considers to be defensive C programming.Stack allocated buffers, questionable logic and a generally terrible style as well as a complete lack of comments.Don't take my word for it, see for yourself:https://github.com/reyk/httpd/blob/master/httpd/server.cThe "new" is a bit off too, the copyright runs 2006-2015.