Skip to content

Fix reverse proxy canceled request status#1218

Merged
Rader merged 1 commit into
mainfrom
sync_mr_2667_ce606c4
Jul 1, 2026
Merged

Fix reverse proxy canceled request status#1218
Rader merged 1 commit into
mainfrom
sync_mr_2667_ce606c4

Conversation

@csg-pr-bot

Copy link
Copy Markdown
Collaborator

Summary:

  • Fixes incorrect 502 status codes for client-cancelled requests by implementing a custom ErrorHandler that returns 499 when context.Canceled is detected.
  • Centralizes the 499 status code in common/utils/common.StatusClientClosedRequest to ensure consistent logging and error handling across the reverse proxy and middleware.

@csg-pr-bot

Copy link
Copy Markdown
Collaborator Author

Depends on #1217

@Rader Rader merged commit beb1169 into main Jul 1, 2026
7 checks passed
@Rader Rader deleted the sync_mr_2667_ce606c4 branch July 1, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants