![]() |
Bitcoin Core 31.99.0
P2P Digital Currency
|
Classes | |
| struct | ContentTooLargeError |
| Thrown when a request body exceeds MAX_BODY_SIZE (or will exceed, in chunked transfer) so the server can reply with more specific code 413 (content too large) vs general 400 (bad request) More... | |
Variables | |
| constexpr size_t | MIN_REQUEST_LINE_LENGTH = std::string_view("GET / HTTP/1.0").size() |
| Shortest valid request line, used by libevent in evhttp_parse_request_line() More... | |
| constexpr size_t | MAX_HEADERS_SIZE {8192} |
| Maximum size of each headers line in an HTTP request, also the maximum size of all headers total. More... | |
| constexpr uint64_t | MAX_BODY_SIZE {32_MiB} |
| Maximum size of an HTTP request body. More... | |
|
inlineconstexpr |
Maximum size of an HTTP request body.
Definition at line 81 of file httpserver.h.
|
inlineconstexpr |
Maximum size of each headers line in an HTTP request, also the maximum size of all headers total.
See https://github.com/bitcoin/bitcoin/pull/6859 And libevent http.c evhttp_parse_headers_()
Definition at line 78 of file httpserver.h.
|
inlineconstexpr |
Shortest valid request line, used by libevent in evhttp_parse_request_line()
Definition at line 72 of file httpserver.h.