Skip to content

Commit f0c7894

Browse files
author
ladeak
committed
Minor comments
1 parent a9e39a2 commit f0c7894

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CHttpServer/CHttpServer/Http3/Http3Stream.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ public async Task StartAsync(CancellationToken cancellationToken = default)
223223
// Before writing reponse DATA StartAsync invoked
224224
// DATA response written
225225
// Trailers written
226-
227226
private async Task StartApplicationProcessing<TContext>(IHttpApplication<TContext> application, CancellationToken token) where TContext : notnull
228227
{
229228
try
@@ -238,6 +237,7 @@ private async Task StartApplicationProcessing<TContext>(IHttpApplication<TContex
238237
await _responseDataWriter.CompleteAsync();
239238

240239
// Invoke start to make sure headers written when no DATA in the response.
240+
// When DATA frames are written, the DATA writer invokes it before the first write.
241241
await StartAsync(token);
242242

243243
// Write trailers

0 commit comments

Comments
 (0)