Definition in file http_server.h.
Go to the source code of this file.
Data Structures | |
struct | http_server_state |
Structure that holds all the necessary state information for session management. More... | |
Defines | |
#define | NO_OF_HTTP_SESSIONS 3 |
Defines number of simultaneous HTTP sessions. | |
#define | HTTPS_SERVERPORT 80 |
HTTP server port on which we'll listen. | |
#define | HTTPS_STATE_FREE 1 |
#define | HTTPS_STATE_RESERVED 2 |
#define | HTTPS_STATE_ACTIVE 3 |
Functions | |
INT8 | https_init (void) |
Initialize HTTP server variables. | |
INT16 | https_findfile (UINT8, UINT8) |
Brief function description here. | |
INT16 | https_loadbuffer (UINT8, UINT8 *, UINT16) |
Fill network transmit buffer with HTTP headers&data. | |
Variables | |
http_server_state | https [] |
Used for storing state information about different HTTP sessions. |
|
Change this define to change how many simultaneous HTTP sessions will be possible at any given time. Note that this will require at least as much TCP sockets, so change NO_OF_TCPSOCKETS also! Definition at line 75 of file http_server.h. |
|
This defines on what TCP port the HTTP server will listen for incoming connections/requests. For HTTP standard port is 80. Definition at line 83 of file http_server.h. Referenced by https_init(). |
|
HTTP Server state: session entry free and available Definition at line 86 of file http_server.h. Referenced by https_init(). |
|
HTTP Server state: session entry is reserved and therefore not available Definition at line 89 of file http_server.h. |
|
HTTP Server state: session entry (and the session itself) are active. Definition at line 92 of file http_server.h. |
|
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. |
|
Definition at line 124 of file https_callbacks.c. |
|
Definition at line 173 of file https_callbacks.c. References https_not_found_page. |
|
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 158 of file http_server.h. |