Commit 2589132a authored by Honfika's avatar Honfika

removed debug code

parent 7fcc8ddb
...@@ -261,7 +261,7 @@ namespace Titanium.Web.Proxy.EventArguments ...@@ -261,7 +261,7 @@ namespace Titanium.Web.Proxy.EventArguments
else else
{ {
await reader.CopyBodyAsync(request, false, writer, transformation, OnDataSent, cancellationToken); await reader.CopyBodyAsync(request, false, writer, transformation, OnDataSent, cancellationToken);
} }
} }
private async Task copyResponseBodyAsync(IHttpStreamWriter writer, TransformationMode transformation, CancellationToken cancellationToken) private async Task copyResponseBodyAsync(IHttpStreamWriter writer, TransformationMode transformation, CancellationToken cancellationToken)
......
...@@ -330,11 +330,6 @@ namespace Titanium.Web.Proxy ...@@ -330,11 +330,6 @@ namespace Titanium.Web.Proxy
} }
else if (!request.ExpectationFailed) else if (!request.ExpectationFailed)
{ {
if (args.ClientStream.IsClosed)
{
;
}
// get the request body unless an unsuccessful 100 continue request was made // get the request body unless an unsuccessful 100 continue request was made
await args.CopyRequestBodyAsync(args.HttpClient.Connection.Stream, TransformationMode.None, cancellationToken); await args.CopyRequestBodyAsync(args.HttpClient.Connection.Stream, TransformationMode.None, cancellationToken);
} }
......
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