You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support proxies when making the connection to SFS.
Automatic handling should be done during the web requests with the goal of finding the first proxy that enables the connection to be created.
The handling will depend on the HTTP library chosen, but a possible approach is through libproxy/libproxy (github.com), which is also used by the Lite DO Client in the DO SDK.
This library does the handling automatically depending on the current platform and returns a list of candidate addresses that should be attempted in order. Here's how DO uses it.
The need to use a library arises from the fact that each platform does proxy configuration in a different manner. Windows uses the IE configuration, or the netsh proxy configuration. Some Linux applications read from the environment variable http_proxy. MacOS has a system-wide proxy configuration similar to Windows.
Support proxies when making the connection to SFS.
Automatic handling should be done during the web requests with the goal of finding the first proxy that enables the connection to be created.
The handling will depend on the HTTP library chosen, but a possible approach is through libproxy/libproxy (github.com), which is also used by the Lite DO Client in the DO SDK.
libproxy has a good example with libcurl: https://github.com/libproxy/libproxy/blob/main/docs/samples/libcurl/curlget.c
The text was updated successfully, but these errors were encountered: