From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web11.11582.1603164229449238437 for ; Mon, 19 Oct 2020 20:23:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=cRmwFRao; spf=pass (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=056211f348=abner.chang@hpe.com) Received: from pps.filterd (m0134425.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09K3BJ3U007576; Tue, 20 Oct 2020 03:23:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=pps0720; bh=g3w9It8PzzlBBDsqFYnTBm0EesIKM1urDxyrtBiC9iQ=; b=cRmwFRaoq/dmLbUV0ue9eoslLt/dTd2qvFTAPOJgCYxxe2AD122rpOBiSN2VcRYP/Yhv URApuCI7uXrt5qNqo5kD/OsJMWg9Vz7k/m5dvB5ql5PwWWI7hB1T1Nt/xedZvkivD40m oBMgqx/3kof3U/joapVnQMMID876PjyVnJdHMexdsRM+qk89dGk+BCZ9Z2qViqIYVnLY J8zvOS/mG4XXNSOX0pdMcpTdhXzOwkLJ5yQA6gv5WKcNc2YkCMwaGH0p8sG1QtihK6TB W6wRrzfB3gyrDg6VEGUaO8W7OZueSUE97NlqbRC7y/4kTDUA7UAHjWTu3cjotkXmfFnk /A== Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) by mx0b-002e3701.pphosted.com with ESMTP id 347swnwxq2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Oct 2020 03:23:48 +0000 Received: from g4t3433.houston.hpecorp.net (g4t3433.houston.hpecorp.net [16.208.49.245]) by g9t5009.houston.hpe.com (Postfix) with ESMTP id 1DBE855; Tue, 20 Oct 2020 03:23:48 +0000 (UTC) Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g4t3433.houston.hpecorp.net (Postfix) with ESMTP id D1F084A; Tue, 20 Oct 2020 03:23:46 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Maciej Rabeda , Jiaxin Wu , Siyuan Fu , Nickle Wang Subject: [DxeHttpIoLib PATCH V2 2/3] NetworkPkg: Add Http IO Helper Library to NetworkPkg Date: Tue, 20 Oct 2020 10:38:47 +0800 Message-Id: <20201020023848.3015-3-abner.chang@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201020023848.3015-1-abner.chang@hpe.com> References: <20201020023848.3015-1-abner.chang@hpe.com> X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-10-20_01:2020-10-16,2020-10-20 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 impostorscore=0 mlxscore=0 priorityscore=1501 adultscore=0 malwarescore=0 suspectscore=1 phishscore=0 spamscore=0 clxscore=1015 mlxlogscore=905 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010200023 This library provides HTTP IO helper functions. Signed-off-by: Abner Chang Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Nickle Wang --- NetworkPkg/NetworkLibs.dsc.inc | 5 ++++- NetworkPkg/NetworkPkg.dec | 6 +++++- NetworkPkg/NetworkPkg.dsc | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/NetworkPkg/NetworkLibs.dsc.inc b/NetworkPkg/NetworkLibs.dsc.inc index 4b99f48085..7cfc1a151a 100644 --- a/NetworkPkg/NetworkLibs.dsc.inc +++ b/NetworkPkg/NetworkLibs.dsc.inc @@ -6,6 +6,7 @@ # of EDKII network library classes. # # Copyright (c) 2019, Intel Corporation. All rights reserved.
+# (C) Copyright 2020 Hewlett Packard Enterprise Development LP
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -16,5 +17,7 @@ IpIoLib|NetworkPkg/Library/DxeIpIoLib/DxeIpIoLib.inf UdpIoLib|NetworkPkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf TcpIoLib|NetworkPkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf - # HttpLib is used for Http Boot + # HttpLib and HttpIoLib are used for Http Boot and other + # HTTP applications. HttpLib|NetworkPkg/Library/DxeHttpLib/DxeHttpLib.inf + HttpIoLib|NetworkPkg/Library/DxeHttpIoLib/DxeHttpIoLib.inf diff --git a/NetworkPkg/NetworkPkg.dec b/NetworkPkg/NetworkPkg.dec index 66e500cbea..0449e1004a 100644 --- a/NetworkPkg/NetworkPkg.dec +++ b/NetworkPkg/NetworkPkg.dec @@ -4,7 +4,7 @@ # This package provides network modules that conform to UEFI 2.4 specification. # # Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.
-# (C) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
+# (C) Copyright 2015-2020 Hewlett Packard Enterprise Development LP
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -41,6 +41,10 @@ # This library is only intended to be used by UEFI network stack modules. HttpLib|Include/Library/HttpLib.h + ## @libraryclass Http IO helper routines for HTTP transfer. + # This library is only intended to be used by UEFI network stack modules. + HttpIoLib|Include/Library/HttpIoLib.h + ## @libraryclass Library for Deferred Procedure Calls. DpcLib|Include/Library/DpcLib.h diff --git a/NetworkPkg/NetworkPkg.dsc b/NetworkPkg/NetworkPkg.dsc index 716d04fdad..216479a2f6 100644 --- a/NetworkPkg/NetworkPkg.dsc +++ b/NetworkPkg/NetworkPkg.dsc @@ -107,6 +107,7 @@ NetworkPkg/Application/VConfig/VConfig.inf NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf NetworkPkg/Library/DxeHttpLib/DxeHttpLib.inf + NetworkPkg/Library/DxeHttpIoLib/DxeHttpIoLib.inf NetworkPkg/Library/DxeIpIoLib/DxeIpIoLib.inf NetworkPkg/Library/DxeNetLib/DxeNetLib.inf NetworkPkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf -- 2.17.1