[CORE] Increase SDU buffer to 32k (#2008)

This commit is contained in:
Sukchan Lee 2023-01-24 21:43:20 +09:00
parent 43eb5f3d7f
commit 218b31d006
10 changed files with 58 additions and 29 deletions

View file

@ -543,7 +543,7 @@ static _MHD_Result access_handler(
} else {
offset = request->http.content_length;
if ((request->http.content_length +
*upload_data_size) > OGS_HUGE_LEN) {
*upload_data_size) > OGS_MAX_SDU_LEN) {
ogs_error("Overflow : Content-Length[%d], upload_data_size[%d]",
(int)request->http.content_length,
(int)*upload_data_size);