VirtualBox

Changeset 78281 in vbox for trunk


Ignore:
Timestamp:
Apr 24, 2019 5:20:10 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/rest: doCall - always call consumeBody

File:
1 edited

Legend:

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

    r76553 r78281  
    281281                                 */
    282282                                a_pResponse->receiveComplete(uHttpStatus, hHttp);
     283                                a_pResponse->consumeBody((const char *)pvBody, cbBody);
    283284                                if (pvBody)
    284                                 {
    285                                     a_pResponse->consumeBody((const char *)pvBody, cbBody);
    286285                                    RTHttpFreeResponse(pvBody);
    287                                 }
    288286                                a_pResponse->receiveFinal();
    289287
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