Skip to content

HttpContext.Abort results in different error code for UseKestrel vs UseHttpSys #12256

Open
@stephentoub

Description

@stephentoub

When the server aborts an HTTP/2 request, a RST_STREAM frame is sent. If UseKestrel is used, this frame contains an INTERNAL_ERROR error code. If UseHttpSys is used, this frame contains a CANCEL error code. CANCEL seems more correct to me, but regardless, seems we should be consistent.

cc: @halter73

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected-very-fewThis issue impacts very few customersarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsbugThis issue describes a behavior which is not expected - a bug.severity-nice-to-haveThis label is used by an internal tool

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions