avoid a data copy

This commit is contained in:
UbitUmarov
2018-12-03 10:17:22 +00:00
parent 57bd671e00
commit 79234795fd
3 changed files with 43 additions and 1 deletions

View File

@@ -195,6 +195,42 @@ namespace OpenSim.Framework.Servers.HttpServer
}
}
public byte[] RawBuffer
{
get
{
return _httpResponse.RawBuffer;
}
set
{
_httpResponse.RawBuffer = value;
}
}
public int RawBufferStart
{
get
{
return _httpResponse.RawBufferStart;
}
set
{
_httpResponse.RawBufferStart = value;
}
}
public int RawBufferLen
{
get
{
return _httpResponse.RawBufferLen;
}
set
{
_httpResponse.RawBufferLen = value;
}
}
/// <summary>
/// Set a redirct location.
/// </summary>