Did this project help you? Give it a 🌟!
Subject version: 21.2. Bonus included.
HTTP/1.1-compliant web server written in C++98.
Built following RFC 7230-7235 specifications and nginx behavior.
Made by Ulysse, Mehdi & Topaze
# Clone with test submodule
git clone --recurse-submodules https://github.com/ulsgks/webserv.git- Compile the project with
make. - Adapt interpreter paths in
webserv.confExample:cgi_handler .php /usr/bin/php - Start the server with
./webserv webserv.confYou can also enable debug logs with-v - Access the demo hosted by the server in your browser:
http://localhost:8080/ - Explore features through the satirical demo website
A comprehensive testing framework is included as a Git submodule in the tests/ directory.
The complete testing suite is also available separately at: github.com/ulsgks/webserv-tester
To run the tests:
./tests/run_test.shTesting Results:
- Functional tests: 200+ scenarios covered
- Stress tests: Handles 1000+ concurrent connections
- CGI tests: All interpreters working correctly
- Edge cases: Malformed requests, large payloads, timeouts
Evaluated by 42 students (125%) and mentioned as an outstanding project 🎉.