1menu "HTTP Server"
2
3    config HTTPD_MAX_REQ_HDR_LEN
4        int "Max HTTP Request Header Length"
5        default 512
6        help
7            This sets the maximum supported size of headers section in HTTP request packet to be processed by the
8            server
9
10    config HTTPD_MAX_URI_LEN
11        int "Max HTTP URI Length"
12        default 512
13        help
14            This sets the maximum supported size of HTTP request URI to be processed by the server
15
16    config HTTPD_ERR_RESP_NO_DELAY
17        bool "Use TCP_NODELAY socket option when sending HTTP error responses"
18        default y
19        help
20            Using TCP_NODEALY socket option ensures that HTTP error response reaches the client before the
21            underlying socket is closed. Please note that turning this off may cause multiple test failures
22
23    config HTTPD_PURGE_BUF_LEN
24        int "Length of temporary buffer for purging data"
25        default 32
26        help
27            This sets the size of the temporary buffer used to receive and discard any remaining data that is
28            received from the HTTP client in the request, but not processed as part of the server HTTP request
29            handler.
30
31            If the remaining data is larger than the available buffer size, the buffer will be filled in multiple
32            iterations. The buffer should be small enough to fit on the stack, but large enough to avoid excessive
33            iterations.
34
35    config HTTPD_LOG_PURGE_DATA
36        bool "Log purged content data at Debug level"
37        default n
38        help
39            Enabling this will log discarded binary HTTP request data at Debug level.
40            For large content data this may not be desirable as it will clutter the log.
41
42    config HTTPD_WS_SUPPORT
43        bool "WebSocket server support"
44        default n
45        help
46            This sets the WebSocket server support.
47
48endmenu
49