File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/Servers/Kestrel/Core/src/Internal/Http Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 2
2
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3
3
4
4
using System ;
5
- using System . Diagnostics ;
6
5
using System . IO . Pipelines ;
7
6
using System . Threading ;
8
7
using System . Threading . Tasks ;
9
8
using Microsoft . AspNetCore . Connections ;
10
- using Microsoft . AspNetCore . Server . Kestrel . Core . Internal . Infrastructure ;
11
9
12
10
namespace Microsoft . AspNetCore . Server . Kestrel . Core . Internal . Http
13
11
{
@@ -59,6 +57,7 @@ public override async ValueTask<ReadResult> ReadAsync(CancellationToken cancella
59
57
}
60
58
catch ( ConnectionAbortedException ex )
61
59
{
60
+ Log . RequestBodyDrainTimedOut ( _context . ConnectionIdFeature , _context . TraceIdentifier ) ;
62
61
throw new TaskCanceledException ( "The request was aborted" , ex ) ;
63
62
}
64
63
@@ -77,7 +76,7 @@ public override async ValueTask<ReadResult> ReadAsync(CancellationToken cancella
77
76
}
78
77
else
79
78
{
80
- // TODO should this reset the timing read?
79
+ // Reset the timing read here for the next call to read.
81
80
StopTimingRead ( 0 ) ;
82
81
continue ;
83
82
}
You can’t perform that action at this time.
0 commit comments