ThreeMammals/Ocelot

HTTP status 499 seems inappropriate when gateway times out waiting on server

Open

#1.687 geöffnet am 29. Aug. 2023

Auf GitHub ansehen
 (9 Kommentare) (5 Reaktionen) (1 zugewiesene Person)C# (1.617 Forks)batch import
bugdocumentationgood first issuehelp wantedproposalquestion

Repository-Metriken

Stars
 (8.137 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 10T 13h) (4 gemergte PRs in 30 T)

Beschreibung

Expected Behavior / New Feature

When the gateway (Ocelot) times out waiting for the server to respond, I would expect an HTTP error code of 504, not 499. I wouldn't ever expect a 499 to be returned to the client -- that seems like an error that would just end up in the logs indicating that the client cancelled the request.

Actual Behavior / Motivation for New Feature

With the current behavior, a 499 is returned when Ocelot times out waiting for the server to respond.

Specifications

  • Version: 17.0.0

Contributor Guide