NetworkPkg: Avoid memory allocation for each HTTP message exchange.
authorFu Siyuan <siyuan.fu@intel.com>
Mon, 14 Sep 2015 09:05:49 +0000 (09:05 +0000)
committersfu5 <sfu5@Edk2>
Mon, 14 Sep 2015 09:05:49 +0000 (09:05 +0000)
commit51b0450e002431b7cb902220c513ddaf589f3600
treef83f2c99849cc47178b8e039ecd73d501ac55c74
parent7fd71047a6d355408b5eb7238c880a75c1a247d9
NetworkPkg: Avoid memory allocation for each HTTP message exchange.

This patch updates the HTTP driver to use a shared buffer for URL parsing to
avoid memory allocation for each HTTP request.

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@18449 6f19259b-4bc3-4df7-8a09-765794883524
NetworkPkg/HttpDxe/HttpImpl.c
NetworkPkg/HttpDxe/HttpProto.c
NetworkPkg/HttpDxe/HttpProto.h