Skip to content

http-proxy-middleware should return 500, 504 and 502 as appropriate. #131

@graingert

Description

@graingert

Expected behavior

If there's an error in the upstream server response return 502,
If there's a timeout in the upstream response / DNS / TLS handshake etc return 504
If there's an application error / unexpected exception in http-proxy-middleware return 500

Actual behavior

Any error returns 500

Setup

  • http-proxy-middleware: latest / N/A

proxy middleware configuration

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions