OS4X HTTP Proxy support
Environmental variables
Proxy support in general is handled by most Unix programs by setting environment variables. These variables are:
HTTP_PROXY
: hostname or IP address of proxy userHTTP_PROXY_PORT
: port number the proxy server is listening onHTTP_PROXY_TYPE
: type of proxy, valid values:- SOCKS4
- SOCKS5
- HTTP
HTTP_PROXY_USER
: username for proxy authentificationHTTP_PROXY_PASSWD
: password for proxy authentification
Behaviour in OS4X
If proxy support is disabled, the above variables are overwritten with empty values by all OS4X binaries. In subsequent processes (like event scripts or plugins), these environment share the same variables as the parent processes have. If you need special variable values for the above listed variables, you have to take care about them in your use cases.
If you have enabled proxy support in OS4X and enabled usage of these special environmental variables, OS4X doesn't change these values and doesn't use other definitions for HTTP proxy definitions.
If you have enabled proxy support in OS4X and disabled usage of these special environmental variables, OS4X will change eventually set environment variables by setting them to the defined values in the OS4X definition, so it overwrites these variables in all processes.