VirtualBox

Changeset 94520 in vbox for trunk/src/VBox/Runtime/generic


Ignore:
Timestamp:
Apr 7, 2022 3:16:39 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150865
Message:

Runtime/http-curl.c|ai: CURLOPT_NOPROXY is an enum and not a define, finally enables the proxy code, bugref:9469

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/http-curl.cpp

    r93115 r94520  
    587587         pThis, enmProxyType, pszHost, uPort, pszUsername, pszPassword ? " with password" : " without password"));
    588588
    589 #ifdef CURLOPT_NOPROXY
    590589    if (pThis->fNoProxy)
    591590    {
     
    595594        pThis->fNoProxy = false;
    596595    }
    597 #endif
    598596
    599597    if (   pThis->fReapplyProxyInfo
     
    715713    }
    716714
    717 #ifdef CURLOPT_NOPROXY
    718715    /* No proxy for everything! */
    719716    AssertReturn(curl_easy_setopt(pThis->pCurl, CURLOPT_NOPROXY, "*") == CURLE_OK, CURLOPT_PROXY);
    720717    pThis->fNoProxy = true;
    721 #endif
    722718
    723719    return VINF_SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette