VirtualBox

Changeset 74379 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Sep 20, 2018 12:57:08 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
125198
Message:

IPRT/http: Added RTHttpSetProxyByUrl, deprecating RTHttpSetProxy in favor of it. bugref:9248 [libcurl archeology]

File:
1 edited

Legend:

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

    r74377 r74379  
    837837                    uProxyPort = 80;
    838838            }
    839 #if CURL_AT_LEAST_VERSION(7,52,0)
     839#ifdef CURL_AT_LEAST_VERSION
     840# if CURL_AT_LEAST_VERSION(7,52,0)
    840841            else if (RTUriIsSchemeMatch(pszProxyUrl, "https"))
    841842            {
     
    844845                    uProxyPort = 443;
    845846            }
     847# endif
    846848#endif
    847849            else if (   RTUriIsSchemeMatch(pszProxyUrl, "socks4")
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