]> git.mxchange.org Git - friendica.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Tue, 16 Jan 2024 18:58:43 +0000 (19:58 +0100)
committerRoland Häder <roland@mxchange.org>
Mon, 23 Jun 2025 22:12:30 +0000 (00:12 +0200)
- added max_response_data_size to default configuration with hard-coded value
  from code

static/defaults.config.php

index b14d8088ba344b14cd98f918690d0838566b347a..ca52cbeb9e1455e1af46093899d2d21b8c0a6ca7 100644 (file)
@@ -655,6 +655,10 @@ return [
                // Timeout in seconds for fetching the XRD links and other requests with an expected shorter timeout
                'xrd_timeout' => 20,
 
+               // max_response_data_size (Integer)
+               // Maximum allowed response data size in Bytes, default is hard-coded value from code
+               'max_response_data_size' => 1000000,
+
                // only_valid_email_addresses (Boolean)
                // WARNING: You normally want to only accept valid email addreses. Under
                // rare conditions this however can be a hinderence, e.g. on your LAN