From: Fu Siyuan Date: Mon, 14 Sep 2015 09:05:12 +0000 (+0000) Subject: NetworkPkg: Update cache management in HTTP boot driver. X-Git-Tag: edk2-stable201903~8875 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=7fd71047a6d355408b5eb7238c880a75c1a247d9;hp=7fd71047a6d355408b5eb7238c880a75c1a247d9 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 Reviewed-by: Ye Ting git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18448 6f19259b-4bc3-4df7-8a09-765794883524 ---