Pages
Projects
Actions
Theme
Links
SelectEsc to close
Back to Projects
Systems
Period
04.2026—08.2026

Custom HTTP/1.1 Server in C++ — Webserv

Non-blocking HTTP/1.1 web server built from scratch in C++98 with TCP/IP socket multiplexing.

seraph919/webserv
Systems

Webserv

I/O Multiplexing
Non-blocking TCP sockets orchestrated through an epoll event loop
Protocol Engine
Incremental HTTP/1.1 request parser, virtual host routing, and response builder
Execution
Static file serving, chunked transfers, and CGI process handling
C++ • HTTP • TCP/IP04.2026 — 08.2026

Architecture

I/O Multiplexing

Non-blocking TCP sockets orchestrated through an epoll event loop

Protocol Engine

Incremental HTTP/1.1 request parser, virtual host routing, and response builder

Execution

Static file serving, chunked transfers, and CGI process handling

Overview

Built a custom HTTP/1.1 server from scratch in C++98 with manual memory management. Reimplemented socket multiplexing and request/response parsing. Achieved a final score of 125/100.

Key Highlights

  • Achieved a final evaluation score of 125/100 at 1337 Coding School
  • Single-threaded event loop handling concurrent clients with epoll
  • Strict C++98 compliance and manual memory/resource lifecycle management

Technologies

  • C++
  • HTTP
  • TCP/IP
  • Sockets

Tags

  • Networking
  • HTTP Server
  • Team Project