diff options
author | Jeff Kelley | 2016-03-14 11:42:28 +0100 |
---|---|---|
committer | Melanie Thielker | 2016-03-14 16:08:49 +0100 |
commit | 41644bbfa92e93c45c17142d261d304d4bd51ef7 (patch) | |
tree | f898deadd647e94dc22b1446bf4f084ca71e5b2e /OpenSim/Region/CoreModules | |
parent | Merge branch 'master' of opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC_OLD-41644bbfa92e93c45c17142d261d304d4bd51ef7.zip opensim-SC_OLD-41644bbfa92e93c45c17142d261d304d4bd51ef7.tar.gz opensim-SC_OLD-41644bbfa92e93c45c17142d261d304d4bd51ef7.tar.bz2 opensim-SC_OLD-41644bbfa92e93c45c17142d261d304d4bd51ef7.tar.xz |
Implement parameterization of HTTP_BODY_MAXLENGTH maximum as proposed in Mantis 7839.
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs b/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs index e1971cf..3948667 100644 --- a/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs +++ b/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs | |||
@@ -365,6 +365,8 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest | |||
365 | m_proxyurl = config.Configs["Startup"].GetString("HttpProxy"); | 365 | m_proxyurl = config.Configs["Startup"].GetString("HttpProxy"); |
366 | m_proxyexcepts = config.Configs["Startup"].GetString("HttpProxyExceptions"); | 366 | m_proxyexcepts = config.Configs["Startup"].GetString("HttpProxyExceptions"); |
367 | 367 | ||
368 | HttpRequestClass.HttpBodyMaxLenMAX = config.Configs["Network"].GetInt("HttpBodyMaxLenMAX", 16384); | ||
369 | |||
368 | 370 | ||
369 | m_outboundUrlFilter = new OutboundUrlFilter("Script HTTP request module", config); | 371 | m_outboundUrlFilter = new OutboundUrlFilter("Script HTTP request module", config); |
370 | int maxThreads = 15; | 372 | int maxThreads = 15; |
@@ -454,7 +456,7 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest | |||
454 | get { return _finished; } | 456 | get { return _finished; } |
455 | } | 457 | } |
456 | 458 | ||
457 | public const int HttpBodyMaxLenMAX = 16384; | 459 | public static int HttpBodyMaxLenMAX = 16384; |
458 | 460 | ||
459 | // Parameter members and default values | 461 | // Parameter members and default values |
460 | public int HttpBodyMaxLen = 2048; | 462 | public int HttpBodyMaxLen = 2048; |