allow setting of MaxResponseContentBufferSize per instance ofglobal httpclient; limit it to 1MB on webrtc

This commit is contained in:
UbitUmarov
2026-03-18 23:11:29 +00:00
parent ea7eb715a2
commit 82c32eac18
4 changed files with 24 additions and 28 deletions

View File

@@ -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;
}