]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg: Remove a CopyMem to speed up the HTTP boot download.
authorFu Siyuan <siyuan.fu@intel.com>
Wed, 23 Dec 2015 06:54:52 +0000 (06:54 +0000)
committersfu5 <sfu5@Edk2>
Wed, 23 Dec 2015 06:54:52 +0000 (06:54 +0000)
commit7552c24e768d7f9edce50ccc3fac88e8e8842d75
treed299fc32bf030b3a70ab12784be9a1dd37141126
parent06e5ae774ecf716216b325c432e70f7368c0d694
NetworkPkg: Remove a CopyMem to speed up the HTTP boot download.

This patch updates the HTTP boot driver to use the caller provided buffer
directly in identity transfer-coding mode, this could save one time CopyMem
operation to benefit the download performance.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19482 6f19259b-4bc3-4df7-8a09-765794883524
NetworkPkg/HttpBootDxe/HttpBootClient.c