VirtualBox

Changeset 43709 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 23, 2012 12:24:21 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
81583
Message:

FE/Qt: New version check should support proxy while using our ssl lib.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkReply.cpp

    r43707 r43709  
    2121#include "UINetworkReply.h"
    2222#include "UINetworkManager.h"
     23#include "VBoxGlobal.h"
     24#include "VBoxUtils.h"
    2325
    2426/* Other VBox includes; */
     
    5860        RTHTTP hHttp;
    5961        m_iError = RTHttpCreate(&hHttp);
     62
     63        /* Setup proxy: */
     64        UIProxyManager proxyManager(vboxGlobal().settings().proxySettings());
     65        if (proxyManager.proxyEnabled())
     66        {
     67            RTHttpSetProxy(hHttp,
     68                           proxyManager.proxyHost().toAscii().constData(),
     69                           proxyManager.proxyPort().toUInt(), 0, 0);
     70        }
    6071
    6172        /* Acquire: */
Note: See TracChangeset for help on using the changeset viewer.

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