![]() |
Bitcoin Core 32.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() | |
| 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. | |
| constexpr uint64_t | MAX_BODY_SIZE {32_MiB} |
| Maximum size of an HTTP request body received from a client. | |
Maximum size of an HTTP request body received from a client.
Also used to limit data queued for sending back to client.
Definition at line 82 of file httpserver.h.
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.