From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 528F381C13 for ; Thu, 12 Jan 2017 00:52:39 -0800 (PST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP; 12 Jan 2017 00:52:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,349,1477983600"; d="scan'208";a="212466953" Received: from jiaxinwu-mobl2.ccr.corp.intel.com ([10.239.196.202]) by fmsmga004.fm.intel.com with ESMTP; 12 Jan 2017 00:52:37 -0800 From: Jiaxin Wu To: edk2-devel@lists.01.org Cc: Ye Ting , Fu Siyuan , Ruiyu Ni , Wu Jiaxin Date: Thu, 12 Jan 2017 16:52:34 +0800 Message-Id: <1484211156-94292-1-git-send-email-jiaxin.wu@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 Subject: [Patch 0/2] Enable the HTTP switch X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2017 08:52:39 -0000 If the value of PcdHttpEnable is TRUE, HTTP is enabled. Both the "http://" and "https://" schemes are acceptable. Otherwise, HTTP is disabled. The "http://" scheme will be denied. Cc: Ye Ting Cc: Fu Siyuan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin Jiaxin Wu (2): NetworkPkg: Add PCD to enable the HTTP switch Nt32Pkg.dsc: Add HTTP_ENABLE flag NetworkPkg/HttpBootDxe/HttpBootClient.c | 20 +++++++- NetworkPkg/HttpBootDxe/HttpBootConfig.c | 81 ++++++++++++++++++++------------ NetworkPkg/HttpBootDxe/HttpBootDxe.inf | 5 +- NetworkPkg/HttpBootDxe/HttpBootSupport.c | 53 ++++++++++++++++++++- NetworkPkg/HttpBootDxe/HttpBootSupport.h | 17 ++++++- NetworkPkg/HttpDxe/HttpDxe.inf | 5 +- NetworkPkg/HttpDxe/HttpImpl.c | 12 ++++- NetworkPkg/NetworkPkg.dec | 8 +++- Nt32Pkg/Nt32Pkg.dsc | 9 ++++ 9 files changed, 173 insertions(+), 37 deletions(-) -- 1.9.5.msysgit.1