Skip to content

Missing scheme information on script health check #310

@nil0x42

Description

@nil0x42

Hi !
I've started using check=file://FILE. But i noticed an annoying limitation:
the scheme of the forwarder is not provided through env.

For example, if i have:

forward=https://myhttpsproxy.com:8443
forward=socks5://1.1.1.1:1080

My script only receives 1.1.1.1:1080 or myhttpsproxy.com:8443, and there is no way for my script to know if it should check an https or socks5 proxy.

Recommendation:
add FORWARDER_SCHEME to env

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions