mirror of
https://github.com/opensim/opensim.git
synced 2026-08-02 06:44:15 +08:00
'cosmetics'
This commit is contained in:
@@ -55,7 +55,7 @@ namespace OSHttpServer
|
||||
private static int m_ActiveSendingCount;
|
||||
private static double m_lastTimeOutCheckTime = 0;
|
||||
|
||||
const int m_maxConcurrenSend = 32;
|
||||
const int m_maxConcurrentSend = 32;
|
||||
|
||||
static ContextTimeoutManager()
|
||||
{
|
||||
@@ -156,7 +156,7 @@ namespace OSHttpServer
|
||||
|
||||
const int curbytesLimit = 128 * 1024;
|
||||
|
||||
int curConcurrentLimit = m_maxConcurrenSend - m_ActiveSendingCount;
|
||||
int curConcurrentLimit = m_maxConcurrentSend - m_ActiveSendingCount;
|
||||
if(curConcurrentLimit <= 0)
|
||||
return;
|
||||
|
||||
|
||||
@@ -327,11 +327,11 @@ namespace OSHttpServer
|
||||
}
|
||||
|
||||
m_headerBytes = GetHeaders();
|
||||
/*
|
||||
if (RawBuffer != null)
|
||||
|
||||
if (RawBuffer != null && RawBufferLen > 0)
|
||||
{
|
||||
int tlen = m_headerBytes.Length + RawBufferLen;
|
||||
if(RawBufferLen > 0 && tlen < 16384)
|
||||
if(tlen < 8 * 1024)
|
||||
{
|
||||
byte[] tmp = new byte[tlen];
|
||||
Buffer.BlockCopy(m_headerBytes, 0, tmp, 0, m_headerBytes.Length);
|
||||
@@ -342,7 +342,7 @@ namespace OSHttpServer
|
||||
RawBufferLen = tlen;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
m_context.StartSendResponse(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user