Skip to content

Overview

lbaron42 edited this page May 30, 2024 · 5 revisions

Overview

The Web Server project is a comprehensive HTTP server implemented in C++98. It is designed to handle multiple client connections, parse HTTP requests, and generate appropriate responses. The server also supports CGI execution and is configured using a custom configuration file.

Main Components

  1. Utility Functions: Helper functions for string manipulation, file handling, and more.
  2. Request Handling: Parses and processes incoming HTTP requests.
  3. Response Generation: Creates HTTP responses based on the request and server state.
  4. Configuration Parsing: Reads and validates the server configuration from a file.
  5. Logging: Provides logging functionality with different verbosity levels.
  6. Server Clustering: Manages multiple server instances to handle connections efficiently.
  7. CGI Support: Executes CGI scripts and returns their output as HTTP responses.
Clone this wiki locally