VirtualBox

Changeset 78659 in vbox for trunk/include/iprt


Ignore:
Timestamp:
May 22, 2019 12:25:07 PM (6 years ago)
Author:
vboxsync
Message:

iprt/http.h: Updated RTHttpGetBinary docs with note about limits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/http.h

    r78066 r78659  
    168168 *                          RTHttpFreeResponse to free.
    169169 * @param   pcb             Size of the returned buffer.
     170 *
     171 * @note    There is a limit on how much this function allows to be downloaded,
     172 *          given that the return requires a single heap allocation and all
     173 *          that.  Currently 32 MB on 32-bit hosts and 64 MB on 64-bit hosts.
     174 *          Use RTHttpGetFile or RTHttpSetDownloadCallback for larger transfers.
    170175 */
    171176RTR3DECL(int) RTHttpGetBinary(RTHTTP hHttp, const char *pszUrl, void **ppvResponse, size_t *pcb);
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