|
cwist
Modern C web framework with libttak runtime
|
Listener settings; start from cwist_lwip_config_init(). More...
#include <lwip.h>
Public Attributes | |
| uint16_t | port |
| uint16_t | max_conns |
| size_t | max_header_bytes |
| size_t | max_body_bytes |
| uint32_t | idle_timeout_ms |
| bool | keep_alive |
| struct cwist_lwip_tls * | tls |
Listener settings; start from cwist_lwip_config_init().
| uint32_t cwist_lwip_config::idle_timeout_ms |
Close a connection with no traffic for this long; 0 = never (default 30000).
Definition at line 72 of file lwip.h.
Referenced by cwist_lwip_config_init().
| bool cwist_lwip_config::keep_alive |
Allow persistent connections (default true).
Definition at line 73 of file lwip.h.
Referenced by cwist_lwip_config_init().
| size_t cwist_lwip_config::max_body_bytes |
Content-Length cap; 413 above (default 16384).
Definition at line 71 of file lwip.h.
Referenced by cwist_lwip_config_init().
| uint16_t cwist_lwip_config::max_conns |
Concurrent connections; extra accepts are aborted (default 4).
Definition at line 69 of file lwip.h.
Referenced by cwist_lwip_config_init().
| size_t cwist_lwip_config::max_header_bytes |
Request line + headers + CRLFCRLF cap; 431 above (default 4096).
Definition at line 70 of file lwip.h.
Referenced by cwist_lwip_config_init().
| uint16_t cwist_lwip_config::port |
TCP port to listen on (default 80).
Definition at line 68 of file lwip.h.
Referenced by cwist_lwip_config_init().
| struct cwist_lwip_tls* cwist_lwip_config::tls |
Serve HTTPS with this context; NULL = plaintext (default). Not owned.
Definition at line 74 of file lwip.h.
Referenced by cwist_lwip_config_init().