opsick
|
#include <config.h>
Public Attributes | |
uint8_t | log |
uint16_t | port |
uint8_t | threads |
uint64_t | max_clients |
uint64_t | max_header_size |
uint64_t | max_body_size |
The host section of the opsick config file (port number, max. HTTP header size, etc...).
uint8_t opsick_config_hostsettings::log |
Whether or not to log HTTP requests.
Set this to 1
to log all HTTP requests.
[DEFAULT] 0
uint64_t opsick_config_hostsettings::max_body_size |
The maximum request body size (use this to protect your db from growing too big!).
[DEFAULT] 16MB
(1024 * 1024 * 16 B
).
uint64_t opsick_config_hostsettings::max_clients |
The maximum number of clients that are allowed to connect concurrently.
[DEFAULT] Computed automatically by facil.io (if this value is left at 0
).
uint64_t opsick_config_hostsettings::max_header_size |
The maximum HTTP header size.
[DEFAULT] 16KB
(1024 * 16B
).
uint16_t opsick_config_hostsettings::port |
The port number on which opsick should listen for requests.
[DEFAULT] 6677
uint8_t opsick_config_hostsettings::threads |
The number of threads to dedicate to opsick.
[DEFAULT] 2