mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
allow setting of MaxResponseContentBufferSize per instance ofglobal httpclient; limit it to 1MB on webrtc
This commit is contained in:
@@ -205,7 +205,7 @@ namespace osWebRtcVoice
|
||||
|
||||
if(request.HttpMethod != "POST")
|
||||
{
|
||||
m_log.Debug($"[{logHeader}][ProvisionVoice]: Not a POST request. Agent={agentID}");
|
||||
m_log.Debug($"{logHeader}[ProvisionVoice]: Not a POST request. Agent={agentID}");
|
||||
response.StatusCode = (int)HttpStatusCode.NotFound;
|
||||
return;
|
||||
}
|
||||
@@ -343,7 +343,7 @@ namespace osWebRtcVoice
|
||||
|
||||
if(request.HttpMethod != "POST")
|
||||
{
|
||||
m_log.Error($"[{logHeader}][VoiceSignaling]: Not a POST request. Agent={agentID}");
|
||||
m_log.Error($"{logHeader}[VoiceSignaling]: Not a POST request. Agent={agentID}");
|
||||
response.StatusCode = (int)HttpStatusCode.NotFound;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user