diff options
author | Baraneedharan Anbazhagan <anbazhagan@hp.com> | 2025-04-25 11:43:59 -0500 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-04-29 04:57:14 +0000 |
commit | 98351bb0d902b0750466f971734d0cbc9a98deba (patch) | |
tree | 0617b525fe68628990cd094c8e6a384f6d3bc888 /NetworkPkg/HttpDxe/HttpDriver.h | |
parent | d985bd4b973327a3a79dfd258c17b256d7fa1e7d (diff) | |
download | edk2-master.tar.gz edk2-master.tar.bz2 edk2-master.zip |
Current HTTP transfer size have a default value of 2M.
This PCD change allows the platform code to change the transfer buffer size.
Based on the network bandwidth, the buffer size can be adjusted to improve performance.
Large buffer size provides better performance in high-bandwidth connections.
However, small buffer size helps to reduce packet loss in low-bandwidth scenarios.
Signed-off-by: Anbazhagan Baraneedharan <anbazhagan@hp.com>
Diffstat (limited to 'NetworkPkg/HttpDxe/HttpDriver.h')
-rw-r--r-- | NetworkPkg/HttpDxe/HttpDriver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/NetworkPkg/HttpDxe/HttpDriver.h b/NetworkPkg/HttpDxe/HttpDriver.h index e0917f431e..ddee0b7e0c 100644 --- a/NetworkPkg/HttpDxe/HttpDriver.h +++ b/NetworkPkg/HttpDxe/HttpDriver.h @@ -3,6 +3,7 @@ Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
+ (c) Copyright 2025 HP Development Company, L.P.
SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -27,6 +28,7 @@ #include <Library/HttpLib.h>
#include <Library/DpcLib.h>
#include <Library/PrintLib.h>
+#include <Library/PcdLib.h>
//
// UEFI Driver Model Protocols
|