Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Commit 5ea537f

Browse files
authored
Don't advance examined in Http1MessageBody.PumpAsync for canceled reads (#2847)
1 parent 89f4850 commit 5ea537f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Kestrel.Core/Internal/Http/Http1MessageBody.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ private async Task PumpAsync()
5151

5252
var readableBuffer = result.Buffer;
5353
var consumed = readableBuffer.Start;
54-
var examined = readableBuffer.End;
54+
var examined = readableBuffer.Start;
5555

5656
try
5757
{

0 commit comments

Comments
 (0)