Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Commit 2589132

Browse files
committed
removed debug code
1 parent 7fcc8dd commit 2589132

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/Titanium.Web.Proxy/EventArguments/SessionEventArgs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ internal async Task CopyRequestBodyAsync(IHttpStreamWriter writer, Transformatio
261261
else
262262
{
263263
await reader.CopyBodyAsync(request, false, writer, transformation, OnDataSent, cancellationToken);
264-
}
264+
}
265265
}
266266

267267
private async Task copyResponseBodyAsync(IHttpStreamWriter writer, TransformationMode transformation, CancellationToken cancellationToken)

src/Titanium.Web.Proxy/RequestHandler.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,6 @@ await args.HttpClient.SendRequest(Enable100ContinueBehaviour, args.IsTransparent
330330
}
331331
else if (!request.ExpectationFailed)
332332
{
333-
if (args.ClientStream.IsClosed)
334-
{
335-
;
336-
}
337-
338333
// get the request body unless an unsuccessful 100 continue request was made
339334
await args.CopyRequestBodyAsync(args.HttpClient.Connection.Stream, TransformationMode.None, cancellationToken);
340335
}

0 commit comments

Comments
 (0)