Reactor-HTTPD

Published:

Stack: C, Linux, epoll, networking

Overview

Reactor-HTTPD is a small HTTP server written in C around the reactor pattern: a single event loop owns all connections and dispatches ready events to their handlers. The goal was to handle many concurrent clients without a thread per connection.

What I built

  • A non-blocking event loop built on Linux epoll for I/O multiplexing.
  • Connection handling for concurrent clients with efficient readiness-based dispatch.
  • HTTP request parsing and response generation in C.
  • A deliberately minimal codebase that favors performance and clarity over feature completeness.

GitHub link