diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs')
-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; |