Renamed ChunkedInputStream.cs to ChunkedRequestStream.cs
This commit is contained in:
parent
2a1f706051
commit
4be6ef8494
@ -1,6 +1,6 @@
|
|||||||
#region License
|
#region License
|
||||||
/*
|
/*
|
||||||
* ChunkedInputStream.cs
|
* ChunkedRequestStream.cs
|
||||||
*
|
*
|
||||||
* This code is derived from System.Net.ChunkedInputStream.cs of Mono
|
* This code is derived from System.Net.ChunkedInputStream.cs of Mono
|
||||||
* (http://www.mono-project.com).
|
* (http://www.mono-project.com).
|
||||||
@ -42,7 +42,7 @@ using System.IO;
|
|||||||
|
|
||||||
namespace WebSocketSharp.Net
|
namespace WebSocketSharp.Net
|
||||||
{
|
{
|
||||||
internal class ChunkedInputStream : RequestStream
|
internal class ChunkedRequestStream : RequestStream
|
||||||
{
|
{
|
||||||
#region Private Const Fields
|
#region Private Const Fields
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ namespace WebSocketSharp.Net
|
|||||||
|
|
||||||
#region Public Constructors
|
#region Public Constructors
|
||||||
|
|
||||||
public ChunkedInputStream (
|
public ChunkedRequestStream (
|
||||||
HttpListenerContext context, Stream stream, byte [] buffer, int offset, int length)
|
HttpListenerContext context, Stream stream, byte [] buffer, int offset, int length)
|
||||||
: base (stream, buffer, offset, length)
|
: base (stream, buffer, offset, length)
|
||||||
{
|
{
|
@ -485,7 +485,7 @@ namespace WebSocketSharp.Net
|
|||||||
if (chunked) {
|
if (chunked) {
|
||||||
_chunked = true;
|
_chunked = true;
|
||||||
_context.Response.SendChunked = true;
|
_context.Response.SendChunked = true;
|
||||||
_inputStream = new ChunkedInputStream (
|
_inputStream = new ChunkedRequestStream (
|
||||||
_context, _stream, buff, _position, len - _position);
|
_context, _stream, buff, _position, len - _position);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -72,7 +72,6 @@
|
|||||||
<Compile Include="Server\WebSocketService.cs" />
|
<Compile Include="Server\WebSocketService.cs" />
|
||||||
<Compile Include="Net\AuthenticationSchemes.cs" />
|
<Compile Include="Net\AuthenticationSchemes.cs" />
|
||||||
<Compile Include="Net\ChunkStream.cs" />
|
<Compile Include="Net\ChunkStream.cs" />
|
||||||
<Compile Include="Net\ChunkedInputStream.cs" />
|
|
||||||
<Compile Include="Net\Cookie.cs" />
|
<Compile Include="Net\Cookie.cs" />
|
||||||
<Compile Include="Net\CookieCollection.cs" />
|
<Compile Include="Net\CookieCollection.cs" />
|
||||||
<Compile Include="Net\CookieException.cs" />
|
<Compile Include="Net\CookieException.cs" />
|
||||||
@ -134,6 +133,7 @@
|
|||||||
<Compile Include="Net\ReadBufferState.cs" />
|
<Compile Include="Net\ReadBufferState.cs" />
|
||||||
<Compile Include="Net\Chunk.cs" />
|
<Compile Include="Net\Chunk.cs" />
|
||||||
<Compile Include="Net\InputChunkState.cs" />
|
<Compile Include="Net\InputChunkState.cs" />
|
||||||
|
<Compile Include="Net\ChunkedRequestStream.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
Loading…
Reference in New Issue
Block a user