From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 F020D81BD6 for ; Mon, 16 Jan 2017 19:33:14 -0800 (PST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP; 16 Jan 2017 19:33:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,242,1477983600"; d="scan'208";a="31406862" Received: from jiaxinwu-mobl2.ccr.corp.intel.com ([10.239.196.94]) by orsmga002.jf.intel.com with ESMTP; 16 Jan 2017 19:33:13 -0800 From: Jiaxin Wu To: edk2-devel@lists.01.org Cc: Ye Ting , Fu Siyuan , Ruiyu Ni , Laszlo Ersek , Kinney Michael D , Wu Jiaxin Date: Tue, 17 Jan 2017 11:33:10 +0800 Message-Id: <1484623992-52988-1-git-send-email-jiaxin.wu@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 Subject: [PATCH v2 0/2] Enable the HTTP connections 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: Tue, 17 Jan 2017 03:33:15 -0000 v2: * Rename the PCD to PcdAllowHttpConnections. * Rename the Nt32Pkg control flag. * Refine the PCD descriptions. If the value of PcdAllowHttpConnections is TRUE, HTTP connections is allowed. Both the "https://" and "http://" URI schemes are permitted. Otherwise, HTTP connections is denied. Only the "https://" URI scheme is permitted. Cc: Ye Ting Cc: Fu Siyuan Cc: Ruiyu Ni Cc: Laszlo Ersek Cc: Kinney Michael D Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin Jiaxin Wu (2): NetworkPkg: Add PCD to enable the HTTP connections switch Nt32Pkg.dsc: Add flag to control HTTP connections 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 | 18 ++++++- 9 files changed, 180 insertions(+), 39 deletions(-) -- 1.9.5.msysgit.1