10ed5851072ff7a4c8ab8021f0baa1dd578feef4 galt Thu Mar 23 22:56:06 2017 -0700 added logProxy=on setting to hg.conf to help confirm that the proxy is actually doing the expected thing. Not meant to be left on in production. refs #19124 diff --git src/hg/lib/cart.c src/hg/lib/cart.c index 522e5f2..31370a6 100644 --- src/hg/lib/cart.c +++ src/hg/lib/cart.c @@ -1614,30 +1614,33 @@ /* Proxy Settings * Most cgis call this routine * net.c cannot see the cart, pass the value through env var */ char *httpProxy = cfgOption("httpProxy"); if (httpProxy) setenv("http_proxy", httpProxy, TRUE); char *httpsProxy = cfgOption("httpsProxy"); if (httpsProxy) setenv("https_proxy", httpsProxy, TRUE); char *ftpProxy = cfgOption("ftpProxy"); if (ftpProxy) setenv("ftp_proxy", ftpProxy, TRUE); char *noProxy = cfgOption("noProxy"); if (noProxy) setenv("no_proxy", noProxy, TRUE); +char *logProxy = cfgOption("logProxy"); +if (logProxy) + setenv("log_proxy", noProxy, TRUE); return cart; } struct cart *cartAndCookieWithHtml(char *cookieName, char **exclude, struct hash *oldVars, boolean doContentType) /* Load cart from cookie and session cgi variable. Write cookie * and optionally content-type part HTTP preamble to web page. Don't * write any HTML though. */ { // Note: early abort works fine but early warn does not htmlPushEarlyHandlers(); struct cart *cart = cartForSession(cookieName, exclude, oldVars); popWarnHandler(); popAbortHandler();