mirror of
https://github.com/opensim/opensim.git
synced 2026-07-14 11:45:35 +08:00
clamp/limit a few things; a few cosmetics on animation control
This commit is contained in:
@@ -167,6 +167,8 @@ namespace OSHttpServer.Parser
|
||||
{
|
||||
if (!m_curHeaderValue.TryParseInt(out m_bodyBytesLeft))
|
||||
throw new BadRequestException("Content length is not a number.");
|
||||
if(m_bodyBytesLeft > 64 * 1024 * 1204)
|
||||
throw new BadRequestException("Content length too large.");
|
||||
}
|
||||
|
||||
if (HeaderReceived != null)
|
||||
|
||||
Reference in New Issue
Block a user