|
LeftHookRoll
An HTTP/1.0 compliant web server, as specified by RFC1945
|
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. More...
#include <string>#include <ctime>#include <netinet/in.h>#include <sys/types.h>#include "ServerConf.hpp"#include "LocationConf.hpp"#include "Request.hpp"#include "Response.hpp"Go to the source code of this file.
Classes | |
| class | Connection |
Macros | |
| #define | MAX_HEADER_SIZE 8192 |
Enumerations | |
| enum | ConnectionState { READING , WRITING , PROCESSING , WAITING_FOR_CGI , FINISHED } |
| Represents the state of the CLIENT SOCKET. More... | |
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.
Definition in file Connection.hpp.
| #define MAX_HEADER_SIZE 8192 |
Definition at line 8 of file Connection.hpp.
| enum ConnectionState |
Represents the state of the CLIENT SOCKET.
| Enumerator | |
|---|---|
| READING | |
| WRITING | |
| PROCESSING | |
| WAITING_FOR_CGI | |
| FINISHED | |
Definition at line 24 of file Connection.hpp.