Reject an XMLRPC size limit above the SCGI content size limit.

This commit is contained in:
xirvik
2026-08-26 14:27:06 +00:00
committed by Jari Sundell
parent c8da93bd30
commit 16bfaf2694
3 changed files with 9 additions and 4 deletions
-3
View File
@@ -529,9 +529,6 @@ XmlRpc::size_limit() {
void
XmlRpc::set_size_limit(uint64_t size) {
if (size >= (64 << 20))
throw torrent::input_error("Invalid XMLRPC limit size.");
xmlrpc_limit_set(XMLRPC_XML_SIZE_LIMIT_ID, size);
}