gem5.utils.socks_ssl_context module

gem5.utils.socks_ssl_context.get_proxy_context() SSLContext | None

This function returns a SSL context for https connection with SOCKS proxy support. It uses the environment variable GEM5_USE_PROXY to determine the proxy server to use. If the environment variable is not set, it returns None.