-
Notifications
You must be signed in to change notification settings - Fork 1.7k
HTTP status 499 seems inappropriate when gateway times out waiting on server #1687
Copy link
Copy link
Open
Copy link
Labels
bugIdentified as a potential bugIdentified as a potential bugdocumentationNeeds a documentation updateNeeds a documentation updategood first issueShould be pretty easy to doShould be pretty easy to dohelp wantedNot actively being worked on. If you plan to contribute, please drop a note.Not actively being worked on. If you plan to contribute, please drop a note.proposalProposal for a new functionality in OcelotProposal for a new functionality in OcelotquestionInitially seen a question could become a new feature or bug or closed ;)Initially seen a question could become a new feature or bug or closed ;)
Metadata
Metadata
Assignees
Labels
bugIdentified as a potential bugIdentified as a potential bugdocumentationNeeds a documentation updateNeeds a documentation updategood first issueShould be pretty easy to doShould be pretty easy to dohelp wantedNot actively being worked on. If you plan to contribute, please drop a note.Not actively being worked on. If you plan to contribute, please drop a note.proposalProposal for a new functionality in OcelotProposal for a new functionality in OcelotquestionInitially seen a question could become a new feature or bug or closed ;)Initially seen a question could become a new feature or bug or closed ;)
Type
Fields
Give feedbackNo fields configured for Bug.
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