From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web12.8536.1603091406425071307 for ; Mon, 19 Oct 2020 00:10:06 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=hQArDpTL; spf=pass (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=05619ac0e3=abner.chang@hpe.com) Received: from pps.filterd (m0134420.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09J6rDbp018916; Mon, 19 Oct 2020 07:10:05 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : mime-version; s=pps0720; bh=aAHdQb5+r/FT79rzaLDJGJxPJ2yPde1DecHb6ZLbJXk=; b=hQArDpTLGB6NuyCRJiX1w7jMCQcQKnIPExn3QUXFX5tnNAvAGI2nYEFRP8ju30OOluaB w/AIWBYVouO9YyJkX3dYTiXCWSe0k6iJKtWcjeMnzDq9L/e/Cu13Tc2szHmTs1bQpM8T qqG0eHrg/SW5y8pcCyb8BO1xToiLJeMCqdGL69ZNGDrhiL1rt/JryumEXBnzC3oIVxNe 4zHduNKo0ehu/ir1mGT1vBrI7eHG0l0iP1G4GrvN/YogAoIMj3WjtJVNOBd8Kdu9eWOa 7SzzpmavSL8k8B51X8hZW9Pc6DL8XI+73b8RZDy8aHo4Hn1Ic1g5RozyImr5b6chtuwu dQ== Received: from g4t3427.houston.hpe.com (g4t3427.houston.hpe.com [15.241.140.73]) by mx0b-002e3701.pphosted.com with ESMTP id 348a4m848u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 19 Oct 2020 07:10:05 +0000 Received: from g4t3433.houston.hpecorp.net (g4t3433.houston.hpecorp.net [16.208.49.245]) by g4t3427.houston.hpe.com (Postfix) with ESMTP id 9A62D57; Mon, 19 Oct 2020 07:10:04 +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 319E74B; Mon, 19 Oct 2020 07:10:02 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Maciej Rabeda , Jiaxin Wu , Siyuan Fu , Nickle Wang Subject: [DxeHttpIoLib PATCH 0/2] Add Http IO Helper Library Date: Mon, 19 Oct 2020 14:25:15 +0800 Message-Id: <20201019062517.1288-1-abner.chang@hpe.com> X-Mailer: git-send-email 2.17.1 X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-10-18_13:2020-10-16,2020-10-18 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 phishscore=0 malwarescore=0 bulkscore=0 spamscore=0 adultscore=0 clxscore=1015 lowpriorityscore=0 mlxlogscore=999 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010190052 BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=3013 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. We can help to revise HttpBootDxe to use 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. Note: This set of patch can't pass CI/ECC check becasue the specific format of copyright information is not supported yet on files other than .c and .h. BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=3011 Signed-off-by: Abner Chang Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Nickle Wang Abner Chang (2): NetworkPkg/Library: Implementation of Http IO Helper Library NetworkPkg: Add Http IO Helper Library to NetworkPkg NetworkPkg/Include/Library/HttpIoLib.h | 327 +++++++ .../Library/DxeHttpIoLib/DxeHttpIoLib.c | 806 ++++++++++++++++++ .../Library/DxeHttpIoLib/DxeHttpIoLib.inf | 43 + .../Library/DxeHttpIoLib/DxeHttpIoLib.uni | 13 + NetworkPkg/NetworkLibs.dsc.inc | 5 +- NetworkPkg/NetworkPkg.dec | 6 +- NetworkPkg/NetworkPkg.dsc | 1 + 7 files changed, 1199 insertions(+), 2 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