diff options
author | Fu Siyuan <siyuan.fu@intel.com> | 2015-09-14 09:05:12 +0000 |
---|---|---|
committer | sfu5 <sfu5@Edk2> | 2015-09-14 09:05:12 +0000 |
commit | 7fd71047a6d355408b5eb7238c880a75c1a247d9 (patch) | |
tree | bbef213b46473cf2c2a14b2c0f18e985f364b5df /BaseTools/Source/Python/Common/Misc.py | |
parent | b5780309723433a476b182aef2d1ceb6380e9ab2 (diff) | |
download | edk2-platforms-7fd71047a6d355408b5eb7238c880a75c1a247d9.tar.xz |
NetworkPkg: Update cache management in HTTP boot driver.
The original HTTP boot driver always save the received message body in its cache,
it bring a large of memory allocation during HTTP download. This patch updates
the HTTP boot driver to only cache data when caller doesn't provide a buffer for
download (which is usually used when caller want to get the required buffer size).
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18448 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/Python/Common/Misc.py')
0 files changed, 0 insertions, 0 deletions