Raise max request size in ORT server (#1119)

This commit is contained in:
Hariharan Seshadri 2019-05-28 15:50:23 -07:00 committed by GitHub
parent 1ea3e8633c
commit e19bc2d074
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ void HttpSession::DoRead() {
req_.emplace();
// TODO: make the max request size configable.
req_->body_limit(10 * 1024 * 1024); // Max request size: 10 MiB
req_->body_limit(25 * 1024 * 1024); // Max request size: 25 MiB
http::async_read(socket_, buffer_, *req_,
net::bind_executor(