diff options
author | Saloni Kasbekar <saloni.kasbekar@intel.com> | 2022-12-16 17:31:43 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-03-13 00:34:01 +0000 |
commit | fa21977197d1b9ad1900fcf6225a96139faf5930 (patch) | |
tree | 87d16b8fd51358a2fefc4629d258445459565176 /BaseTools/Source/Python | |
parent | f5148b126710d1e9bbbded75a72740e5cbd92617 (diff) | |
download | edk2-fa21977197d1b9ad1900fcf6225a96139faf5930.zip edk2-fa21977197d1b9ad1900fcf6225a96139faf5930.tar.gz edk2-fa21977197d1b9ad1900fcf6225a96139faf5930.tar.bz2 |
NetworkPkg/HttpDxe: Add HTTPS handling in HTTP CONNECT path.
1. In EfiHttpRequest():
a) Decision to use HTTPS in HTTP CONNECT is based on Proxy URL.
b) Support PUT/POST with no headers when connected to proxy.
2. In HttpConnectTcp4/6():
a) Add new argument to provide new TLS session establishment indication
(TlsConfigure).
a) Create HTTP connection only when not connected to proxy.
b) Do not create new HTTP connection when client is connected to proxy.
3. In HttpInitSession(), pass TlsConfigure to HttpConnectTcp4 calls.
4. In TlsConfigureSession(), when connected to proxy, use recorded
endpoint's host name for TLS VerifyHost.
Implementation based on UEFI Specification v2.11 section 24.7.10 to
use HTTP CONNECT method to connect to Proxy Server and use it to
forward the HEAD/GET request to Endpoint Server's BootURI.
Signed-off-by: Saloni Kasbekar <saloni.kasbekar@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions