ThreeMammals/Ocelot

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

Aberta

#1.687 aberto em 29 de ago. de 2023

 (10 comentários) (5 reações) (0 responsável)C# (1.617 forks)batch import
bugdocumentationgood first issuehelp wantedproposalquestion

Métricas do repositório

Stars
 (8.137 estrelas)
Métricas de merge de PR
 (Mesclagem média 44d 17h) (6 fundiu PRs em 30d)

Description

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

Guia do colaborador