Skip to content

martian: fix handling of no route to host in Windows #493

@mmatczuk

Description

@mmatczuk

In Windows we can see the following logs

[error] failed to CONNECT: dial tcp [IPv6]:443: connectex: A socket operation was attempted to an unreachable network.

This error better know as WSAENETUNREACH 10051 (0x2743) is Windows equivalent of no route to host.

We should handle it and respond with 502 Bad Gateway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions