|
Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
|
Limits for MultipartStreamParser. Exceeding one fails the parse (see MultipartStreamParser::failed()) and deletes the partial file. More...
#include <MultipartStreamParser.hpp>
Public Attributes | |
| size_t | max_file_size = 100 * 1024 * 1024 |
| Per uploaded file. | |
| size_t | max_field_size = 1024 * 1024 |
| Per non-file field (kept in memory) | |
| size_t | max_total_size = 1024ull * 1024 * 1024 |
| Whole body. | |
| size_t | max_parts = 1000 |
| std::string | upload_dir |
Limits for MultipartStreamParser. Exceeding one fails the parse (see MultipartStreamParser::failed()) and deletes the partial file.
| size_t orbit::http::MultipartLimits::max_field_size = 1024 * 1024 |
Per non-file field (kept in memory)
| size_t orbit::http::MultipartLimits::max_file_size = 100 * 1024 * 1024 |
Per uploaded file.
| size_t orbit::http::MultipartLimits::max_parts = 1000 |
Fields plus files
| size_t orbit::http::MultipartLimits::max_total_size = 1024ull * 1024 * 1024 |
Whole body.
| std::string orbit::http::MultipartLimits::upload_dir |
Where files are written. Empty: a private directory (mode 0700 on POSIX) created once per process under the system temp directory.