public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Abner Chang" <abner.chang@hpe.com>
To: devel@edk2.groups.io
Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>,
	Jiaxin Wu <jiaxin.wu@intel.com>, Siyuan Fu <siyuan.fu@intel.com>,
	Nickle Wang <nickle.wang@hpe.com>
Subject: [DxeHttpIoLib PATCH V4 0/3] Add Http IO Helper Library
Date: Thu, 29 Oct 2020 21:37:30 +0800	[thread overview]
Message-ID: <20201029133733.15961-1-abner.chang@hpe.com> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2078 bytes --]

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@hpe.com>
 
Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Nickle Wang <nickle.wang@hpe.com>

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


             reply	other threads:[~2020-10-29 14:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-29 13:37 Abner Chang [this message]
2020-10-29 13:37 ` [DxeHttpIoLib PATCH V4 1/3] NetworkPkg/Library: Implementation of Http IO Helper Library Abner Chang
2020-10-29 13:37 ` [DxeHttpIoLib PATCH V4 2/3] NetworkPkg: Add Http IO Helper Library to NetworkPkg Abner Chang
2020-10-29 13:37 ` [DxeHttpIoLib PATCH V4 3/3] NetworkPkg/HttpBootDxe: Utilize HttpIoLib Abner Chang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201029133733.15961-1-abner.chang@hpe.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox