Topics

[DxeHttpIoLib PATCH V4 0/3] Add Http IO Helper Library


Abner Chang
 

In v4: - Address the comments given by Maciej.
- Add checking of "\r\n" notation on the Last-chunk and
End-of-chunk.

In v3: Address the comments given by Maciej.

In v2: Revise HTTP Boot DXE to utilize HttpIoLib.
 
In order to leverage HTTP IO related functions implemented in HttpBootDxe
for edk2 Redfish REST EX HTTP driver instance, we would like to pull out
HTTP IO related functions from HttpBootDxe to a helper library under
network package.
 
This set of patches is for the new library HttpIoLib. HttpBootDxe is also
revised to utilize HttpIoLib. However we will need the owner of
HttpBootDxe to verify the functionality of HTTP boot becuase I don't
have the environment for that.
 
Signed-off-by: Abner Chang <abner.chang@...>
 
Cc: Maciej Rabeda <maciej.rabeda@...>
Cc: Jiaxin Wu <jiaxin.wu@...>
Cc: Siyuan Fu <@sfu5>
Cc: Nickle Wang <nickle.wang@...>

Abner Chang (3):
NetworkPkg/Library: Implementation of Http IO Helper Library
NetworkPkg: Add Http IO Helper Library to NetworkPkg
NetworkPkg/HttpBootDxe: Utilize HttpIoLib

NetworkPkg/HttpBootDxe/HttpBootDxe.h | 3 +-
NetworkPkg/HttpBootDxe/HttpBootDxe.inf | 2 +
NetworkPkg/HttpBootDxe/HttpBootSupport.c | 431 +--------
NetworkPkg/HttpBootDxe/HttpBootSupport.h | 189 +---
NetworkPkg/Include/Library/HttpIoLib.h | 328 +++++++
.../Library/DxeHttpIoLib/DxeHttpIoLib.c | 847 ++++++++++++++++++
.../Library/DxeHttpIoLib/DxeHttpIoLib.inf | 43 +
.../Library/DxeHttpIoLib/DxeHttpIoLib.uni | 13 +
NetworkPkg/NetworkLibs.dsc.inc | 5 +-
NetworkPkg/NetworkPkg.dec | 6 +-
NetworkPkg/NetworkPkg.dsc | 1 +
11 files changed, 1247 insertions(+), 621 deletions(-)
create mode 100644 NetworkPkg/Include/Library/HttpIoLib.h
create mode 100644 NetworkPkg/Library/DxeHttpIoLib/DxeHttpIoLib.c
create mode 100644 NetworkPkg/Library/DxeHttpIoLib/DxeHttpIoLib.inf
create mode 100644 NetworkPkg/Library/DxeHttpIoLib/DxeHttpIoLib.uni

--
2.17.1