forked from Spritetm/libesphttpd
-
Notifications
You must be signed in to change notification settings - Fork 45
/
Kconfig
119 lines (100 loc) · 3.35 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
#ESP-IDF Kconfig configuration file. Not used for ESP8266 RTOS/non-RTOS SDKs.
menu "esphttpd"
menuconfig ESPHTTPD_ENABLED
bool "esphttpd"
help
Select this option to enable libesphttpd and show the submodule with libesphttpd configuration
config ESPHTTPD_STACK_SIZE
int "Stack size of ESP-HTTPD task"
depends on ESPHTTPD_ENABLED
range 1024 16384
default 4096
help
Stack size reserved for the esp-httpd main task plus CGIs.
config ESPHTTPD_PROC_AFFINITY
bool "Processor Affinity Support"
depends on ESPHTTPD_ENABLED
default n
help
Enable Processor Affinity Support
config ESPHTTPD_PROC_CORE
int "Bind to Processor Core"
depends on ESPHTTPD_PROC_AFFINITY
range 0 1
default 0
help
Select Core 0 or Core 1
config ESPHTTPD_PROC_PRI
int "Process Task Priority"
depends on ESPHTTPD_ENABLED
range 1 17
default 4
help
Set esphttpd Process Task Priority
config ESPHTTPD_SHUTDOWN_SUPPORT
bool "Enable shutdown support"
depends on ESPHTTPD_ENABLED
default n
help
Add support for server shutdown. Adds ~500 bytes of code.
config ESPHTTPD_CORS_SUPPORT
bool "CORS support"
depends on ESPHTTPD_ENABLED
help
Enable support for CORS, cross origin resource sharing.
NOTE: Requires 256 bytes of RAM for each connection
config ESPHTTPD_USE_ESPFS
bool "Enable espfs filesystem"
depends on ESPHTTPD_ENABLED
default y
help
Enables integration with espfs (readonly) filesystem. You need to include espfs submodule in your project if enabled.
config ESPHTTPD_SO_REUSEADDR
bool "Set SO_REUSEADDR to avoid waiting for a port in TIME_WAIT."
depends on ESPHTTPD_ENABLED
default n
help
Requires LWIP_SO_REUSE to be enabled.
Sets the SO_REUSEADDR flag on a socket prior to attempting to bind(). Avoids the condition where
the bind() calls will fail while the port is in TIME_WAIT for a number of minutes.
config ESPHTTPD_TCP_NODELAY
bool "Set TCP_NODELAY."
depends on ESPHTTPD_ENABLED
default y
help
Set TCP_NODELAY to avoid waiting for a ACK to send multiple small frames (It will disable Nagle's TCP Algorithm). It can speed-up transfers for small files.
config ESPHTTPD_SSL_SUPPORT
bool "Enable SSL support"
depends on ESPHTTPD_ENABLED
default n
help
SSL connections require ~32k of ram each.
Enabling this allows the server to be placed into ssl mode.
config ESPHTTPD_BACKLOG_SUPPORT
bool "Write data to backlog when it can't be sent"
depends on ESPHTTPD_ENABLED
default n
help
A non-os specific option. FreeRTOS uses blocking sockets so data will always be sent and there is
no need for the backlog.
If you are using FreeRTOS you'll save codespace by leaving this option disabled.
config ESPHTTPD_SANITIZE_URLS
bool "Sanitize client requests"
depends on ESPHTTPD_ENABLED
default y
help
Sanitize client's URL requests by treating multiple repeated slashes in the
URL's path as a single slash.
config ESPHTTPD_SINGLE_REQUEST
bool "Single request per connection"
depends on ESPHTTPD_ENABLED
default n
help
Include the "Connection: close" header. This is useful for captive portals.
config ESPHTTPD_ALLOW_OTA_FACTORY_APP
bool "Allow OTA of Factory Partition (not recommended)"
depends on ESPHTTPD_ENABLED
default n
help
Allows cgiUploadFirmware() in cgiflash.c to write to the Factory partition. It it not recommended for production use.
endmenu