Increase maximum total HTTP parameter length.
GitOrigin-RevId: ec45c14398f11bbf4212429fcf8fd322abd72f5a
This commit is contained in:
parent
405934676e
commit
26c7572f89
@ -102,7 +102,7 @@ class HttpReader {
|
||||
void clean_temporary_file();
|
||||
|
||||
static constexpr size_t MAX_CONTENT_SIZE = std::numeric_limits<int32>::max(); // Some reasonable limit
|
||||
static constexpr size_t MAX_TOTAL_PARAMETERS_LENGTH = 1 << 16; // Some reasonable limit
|
||||
static constexpr size_t MAX_TOTAL_PARAMETERS_LENGTH = 1 << 20; // Some reasonable limit
|
||||
static constexpr size_t MAX_TOTAL_HEADERS_LENGTH = 1 << 18; // Some reasonable limit
|
||||
static constexpr size_t MAX_BOUNDARY_LENGTH = 70; // As defined by RFC1341
|
||||
static constexpr int64 MAX_FILE_SIZE = 2000 << 20; // Telegram server file size limit
|
||||
|
Loading…
Reference in New Issue
Block a user