-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
affected-very-fewThis issue impacts very few customersThis issue impacts very few customersarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-httpsysseverity-nice-to-haveThis label is used by an internal toolThis label is used by an internal tool
Milestone
Description
HttpContext.RequestAborted in HttpSys is lazy initialized. This is fine if that happens before the disconnect, but if the disconnect has already happened then an uncancellable token is returned rather than a cancelled one.
https://github.com/aspnet/AspNetCore/blob/642fe1631d31a42e253fc383c392dd701a243a78/src/Servers/HttpSys/src/RequestProcessing/RequestContext.cs#L62-L72
Related: #16691
Metadata
Metadata
Assignees
Labels
affected-very-fewThis issue impacts very few customersThis issue impacts very few customersarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-httpsysseverity-nice-to-haveThis label is used by an internal toolThis label is used by an internal tool