mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
change default httpclients MaxResponseContentBufferSize
This commit is contained in:
@@ -180,6 +180,7 @@ namespace OpenSim.Framework
|
||||
var client = new HttpClient(shh)
|
||||
{
|
||||
Timeout = TimeSpan.FromMilliseconds(30000),
|
||||
MaxResponseContentBufferSize = 250 * 1024 * 1024,
|
||||
};
|
||||
client.DefaultRequestHeaders.ExpectContinue = false;
|
||||
|
||||
@@ -253,6 +254,7 @@ namespace OpenSim.Framework
|
||||
client = new HttpClient(shh)
|
||||
{
|
||||
Timeout = TimeSpan.FromMilliseconds(30000),
|
||||
MaxResponseContentBufferSize = 250 * 1024 * 1024,
|
||||
};
|
||||
client.DefaultRequestHeaders.ExpectContinue = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user