dotnet / dotnet/yarp

Why does Yarp return 502 status code when a client disconnects?

Open
#2,019 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
9.6k
Forks
933
Avg merge
12d 18h
Merged PRs (30d)
2

Description

502 (Bad Gateway) is usually returned when the reverse proxy encounters an error while trying to forward the request to the backend server, but in the case where a client disconnects should it not set the status code to 499?

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.