|
LeftHookRoll
An HTTP/1.0 compliant web server, as specified by RFC1945
|
Files | |
| AllowedMethods.hpp | |
| CGIManager.hpp | |
| Declares the CGIManager class responsible for executing CGI scripts and redirecting their input/output. | |
| ConfigParser.hpp | |
| Parses a webserv.conf file and produces a vector of ServerConf objects. | |
| Connection.hpp | |
| Will be spawned when we accept() a new connection, will handle reading from the socket, writing to the socket, and the state of the connection. | |
| DataStore.hpp | |
| A DataStore is a flexible data structure, it is either a RAM buffer or a file on disk, depending on the size of the data. you dont care about it's form, you just read/write from it using the helper functions provided. | |
| FatalExceptions.hpp | |
| This class will be used to collect fatal exceptions, which are exceptions that should cause the program to exit immediately. any exception that can be recovered from/used to control flow SHOULD NOT be in this file, and rather should be a subclass of it's cause class. | |
| LocationConf.hpp | |
| Stores per-route configuration directives. This class encapsulates the configuration for a specific location block parsed from the webserv.conf file. | |
| Request.hpp | |
| Parses and stores the entire HTTP request entity (headers, body). Utilizes a State Machine to handle non-blocking, fragmented data streams. | |
| Response.hpp | |
| Formulates the HTTP response and manages non-blocking data transmission. | |
| ServerConf.hpp | |
| Stores per-server configuration directives. This class encapsulates the configuration for a specific server block parsed from the webserv.conf file. | |
| ServerManager.hpp | |
| Owns the event loop and all listening sockets. Accepts new connections, dispatches I/O events, and routes each accepted fd to the correct ServerConf via listening-fd mapping. | |