Commit 8e02c62c authored by justcoding121's avatar justcoding121

cleanup

parent e6872fde
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Messaging;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Titanium.Web.Proxy.Helpers
{
/// <summary>
///
/// A custom network stream inherited from stream
/// with an underlying buffer
/// </summary>
/// <seealso cref="System.IO.Stream" />
class CustomBufferedStream : Stream
internal class CustomBufferedStream : Stream
{
private readonly Stream baseStream;
......@@ -419,7 +416,7 @@ namespace Titanium.Web.Proxy.Helpers
return bufferLength > 0;
}
class ReadAsyncResult : IAsyncResult
private class ReadAsyncResult : IAsyncResult
{
public int ReadBytes { get; }
......
......@@ -139,7 +139,7 @@ namespace Titanium.Web.Proxy
//Sorry cannot do a HTTPS request decrypt to port 80 at this time
else if (httpVerb == "CONNECT")
{
//Cyphen out CONNECT request headers
//Siphon out CONNECT request headers
await clientStreamReader.ReadAndIgnoreAllLinesAsync();
//write back successfull CONNECT response
await WriteConnectResponse(clientStreamWriter, version);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment