VirtualBox

Changeset 74192 in vbox


Ignore:
Timestamp:
Sep 11, 2018 11:22:36 AM (6 years ago)
Author:
vboxsync
Message:

IPRT/rest: RTCRestClientApiBase::reinitHttpInstance - as a temporary
workaround always create new RTHTTP handle. RTHttpReset() causes the
handle state and the curl state to get out of sync.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/rest/RTCRestClientApiBase.cpp

    r74052 r74192  
    5454{
    5555    if (m_hHttp != NIL_RTHTTP)
     56    {
     57#if 0
     58        /*
     59         * XXX: disable for now as it causes the RTHTTP handle state
     60         * and curl state to get out of sync.
     61         */
    5662        return RTHttpReset(m_hHttp);
     63#else
     64        RTHttpDestroy(m_hHttp);
     65        m_hHttp = NIL_RTHTTP;
     66#endif
     67    }
    5768
    5869    int rc = RTHttpCreate(&m_hHttp);
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