Skip to content

TestServer needs a IHttpResponseStart feature to avoid flushing #7780

@JunTaoLuo

Description

@JunTaoLuo

To mimic the Kestrel behaviour, a IHttpResponseStartFeature needs to be added by the TestServer. Otherwise it falls back to the flushing behaviour: https://github.com/aspnet/AspNetCore/blob/4646ed56189a8ee36ced6397dd4f86fce9e6a8e8/src/Http/Http/src/Internal/DefaultHttpResponse.cs#L154-L159.

Metadata

Metadata

Assignees

Labels

area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-pipelinesAnything relating to exposing/using Pipes in ASP.NET Core

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions