mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-10 18:24:27 +05:00
refactor: increased max request size for /api/vars and /api/backup/restore
This commit is contained in:
@@ -225,7 +225,7 @@ protected:
|
||||
this->webServer->send(406);
|
||||
return;
|
||||
|
||||
} else if (plain.length() > 2048) {
|
||||
} else if (plain.length() > 2536) {
|
||||
this->webServer->send(413);
|
||||
return;
|
||||
}
|
||||
@@ -469,7 +469,7 @@ protected:
|
||||
this->webServer->send(406);
|
||||
return;
|
||||
|
||||
} else if (plain.length() > 1024) {
|
||||
} else if (plain.length() > 1536) {
|
||||
this->webServer->send(413);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user