Lines Matching defs:no_proxy
241 /* Respect no_proxy, taking default value from environment variable(s) */
242 static int use_proxy(const char *no_proxy, const char *server)
255 if (no_proxy == NULL)
256 no_proxy = ossl_safe_getenv("no_proxy");
257 if (no_proxy == NULL)
258 no_proxy = ossl_safe_getenv(OPENSSL_NO_PROXY);
260 if (no_proxy != NULL)
261 found = strstr(no_proxy, server);
263 && ((found != no_proxy && found[-1] != ' ' && found[-1] != ',')
269 /* Take default value from environment variable(s), respect no_proxy */
270 const char *OSSL_HTTP_adapt_proxy(const char *proxy, const char *no_proxy,
282 if (proxy == NULL || *proxy == '\0' || !use_proxy(no_proxy, server))