Skip to content

Commit b514596

Browse files
committed
Address PR feedback
1 parent f046730 commit b514596

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Servers/Kestrel/Core/src/Internal/Http2/Http2OutputProducer.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ internal class Http2OutputProducer : IHttpOutputProducer, IHttpOutputAborter, IV
4343
private bool _writerComplete;
4444

4545
// Internal for testing
46-
internal ValueTask _dataWriteProcessingTask;
46+
internal Task _dataWriteProcessingTask;
4747
internal bool _disposed;
4848

4949
/// <summary>The core logic for the IValueTaskSource implementation.</summary>
@@ -74,7 +74,7 @@ public Http2OutputProducer(Http2Stream stream, Http2StreamContext context, Strea
7474
// The minimum output data rate is enforced at the connection level by Http2FrameWriter.
7575
_flusher = new TimingPipeFlusher(_pipeWriter, timeoutControl: null, _log);
7676

77-
_dataWriteProcessingTask = ProcessDataWrites().Preserve();
77+
_dataWriteProcessingTask = ProcessDataWrites();
7878
}
7979

8080
public void StreamReset()
@@ -394,7 +394,7 @@ public void Reset()
394394
{
395395
}
396396

397-
private async ValueTask ProcessDataWrites()
397+
private async Task ProcessDataWrites()
398398
{
399399
// ProcessDataWrites runs for the lifetime of the Http2OutputProducer, and is designed to be reused by multiple streams.
400400
// When Http2OutputProducer is no longer used (e.g. a stream is aborted and will no longer be used, or the connection is closed)

0 commit comments

Comments
 (0)