This file implements a simple http 1.0 server that can manage several simultaneous HTTP connections.
Definition in file http_server.c.
Go to the source code of this file.
Functions | |
INT8 | https_init (void) |
Initialize HTTP server variables. | |
Variables | |
UINT8 | https_enabled = 0 |
http_server_state | https [NO_OF_HTTP_SESSIONS] |
Used for storing state information about different HTTP sessions. |
|
Definition at line 93 of file http_server.c. References http_server_state::flen, http_server_state::fpoint, http_server_state::fstart, http_server_state::funacked, https_enabled, HTTPS_SERVERPORT, HTTPS_STATE_FREE, http_server_state::ownersocket, RESET_SYSTEM, http_server_state::state, TCP_DEF_TOUT, tcp_getsocket(), tcp_listen(), TCP_TOS_NORMAL, and TCP_TYPE_SERVER. |
|
Defines whether https_init has already been invoked or not Definition at line 75 of file http_server.c. Referenced by https_init(). |
|
This is an array of http_server_state structures holding various state information about the HTTP sessions. HTTP server uses this information to determine actions that need to be taken on sockets. Definition at line 83 of file http_server.c. |