Many visitors at once
Non-blocking I/O handles many connections in one event loop (epoll).
Team project, 42 school
A web server written from scratch in C++, the kind of program that delivers web pages to a browser.

How the server works. My parts are listed above.
Non-blocking I/O handles many connections in one event loop (epoll).
Server and location blocks in a plain config file.
CGI with its own environment and a timeout, so a stuck script can't freeze the server.
Path-traversal protection blocks requests outside the web root.
HTTP/1.0, C++98 and POSIX sockets only, no external libraries.
Built with C++98, POSIX sockets, epoll, fork/execve.

