dotnet / dotnet/aspnetcore

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

Open
#12,256 9 comments 1 reaction 0 assignees View on GitHub
affected-very-few area-networking bug severity-nice-to-have
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.