public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v6 0/1] ShellPkg/DynamicCommand: add HttpDynamicCommand
@ 2020-08-21 16:05 Vladimir Olovyannikov
  2020-08-21 16:05 ` [PATCH v6 1/1] " Vladimir Olovyannikov
  0 siblings, 1 reply; 6+ messages in thread
From: Vladimir Olovyannikov @ 2020-08-21 16:05 UTC (permalink / raw)
  To: devel
  Cc: Laszlo Ersek, Vladimir Olovyannikov, Zhichao Gao, Maciej Rabeda,
	Jiaxin Wu, Siyuan Fu, Ray Ni, Liming Gao, Nd,
	Samer El-Haj-Mahmoud

Signed-off-by: Vladimir Olovyannikov <vladimir.olovyannikov@broadcom.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Nd <nd@arm.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>

This patchset introduces an http client utilizing EDK2 HTTP protocol, to
allow fast image downloading from http/https servers.
HTTP download speed is usually faster than tftp.
The client is based on the same approach as tftp dynamic command, and
uses the same UEFI Shell command line parameters. This makes it easy
integrating http into existing UEFI Shell scripts.
Note that to enable HTTP download, feature Pcd
gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections must be set to TRUE.

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2860

PATCH v6 changes:
Address Laszlo' and Maciej's comments:
  - adjusted code to comply with EDK2 code style;
  - replaced multiple ShellPrintHiiEx calls with appropriate macros
    for better readability
  - refactored TrimSpaces() to avoid multiple CopyMem() calls.

Vladimir Olovyannikov (1):
  ShellPkg/DynamicCommand: add HttpDynamicCommand

 ShellPkg/ShellPkg.dec                         |    1 +
 ShellPkg/ShellPkg.dsc                         |    5 +
 .../HttpDynamicCommand/HttpApp.inf            |   58 +
 .../HttpDynamicCommand/HttpDynamicCommand.inf |   63 +
 .../DynamicCommand/HttpDynamicCommand/Http.h  |   88 +
 ShellPkg/Include/Guid/ShellLibHiiGuid.h       |    5 +
 .../DynamicCommand/HttpDynamicCommand/Http.c  | 1693 +++++++++++++++++
 .../HttpDynamicCommand/HttpApp.c              |   61 +
 .../HttpDynamicCommand/HttpDynamicCommand.c   |  137 ++
 CryptoPkg/Library/OpensslLib/openssl          |    2 +-
 .../HttpDynamicCommand/Http.uni               |  116 ++
 11 files changed, 2228 insertions(+), 1 deletion(-)
 create mode 100644 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpApp.inf
 create mode 100644 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf
 create mode 100644 ShellPkg/DynamicCommand/HttpDynamicCommand/Http.h
 create mode 100644 ShellPkg/DynamicCommand/HttpDynamicCommand/Http.c
 create mode 100644 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpApp.c
 create mode 100644 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.c
 create mode 100644 ShellPkg/DynamicCommand/HttpDynamicCommand/Http.uni

--
2.26.2.266.ge870325ee8


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-08-25 17:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-21 16:05 [PATCH v6 0/1] ShellPkg/DynamicCommand: add HttpDynamicCommand Vladimir Olovyannikov
2020-08-21 16:05 ` [PATCH v6 1/1] " Vladimir Olovyannikov
2020-08-24 19:42   ` [edk2-devel] " Laszlo Ersek
2020-08-25  4:16     ` Vladimir Olovyannikov
2020-08-25 11:55       ` Maciej Rabeda
2020-08-25 17:22         ` Vladimir Olovyannikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox