Webserv is a fully functional, standards-compliant HTTP server implemented from scratch as part of the 42 curriculum. The goal of the project is to deepen understanding of network programming, event-driven architectures, HTTP protocol behavior, configuration parsing, and robust server design, without relying on high-level web server libraries.
🔍 Key Features
HTTP/1.1 support (requests, responses, headers, chunked transfer, persistent connections)
Non-blocking I/O using poll()
Custom configuration file parsing (similar to NGINX-style blocks)
Multiple server blocks with host/port and virtual server support
GET, POST, DELETE methods implemented
Static file serving and directory listing
CGI execution support with Py (Python)
Error handling + customizable error pages