summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/NetworkPkg.dec
diff options
context:
space:
mode:
authorZachary Clark-Williams <zachary.clark-williams@intel.com>2021-07-28 20:16:13 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-07-28 16:19:19 +0000
commitac70e71b1ffc823e5eec80b0cba04750860728b7 (patch)
tree85977eeb3eb6b3ed26ff240659bebb3411d78b34 /NetworkPkg/NetworkPkg.dec
parent147f34b56ce0e2e18285ef7d0695753ac0aa5085 (diff)
downloadedk2-ac70e71b1ffc823e5eec80b0cba04750860728b7.tar.gz
edk2-ac70e71b1ffc823e5eec80b0cba04750860728b7.tar.bz2
edk2-ac70e71b1ffc823e5eec80b0cba04750860728b7.zip
NetworkPkg: Making the HTTP IO timeout value programmable with PCD
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3507 HTTP boot has a default set forced timeout value of 5 seconds for getting the recovery image from a remote source. This change allows the HTTP boot flow to get the IO timeout value from the PcdHttpIoTimeout. PcdHttpIoTimeout value is set in platform code. Signed-off-by: Zachary Clark-Williams <zachary.clark-williams@intel.com> Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com> Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Diffstat (limited to 'NetworkPkg/NetworkPkg.dec')
-rw-r--r--NetworkPkg/NetworkPkg.dec8
1 files changed, 4 insertions, 4 deletions
diff --git a/NetworkPkg/NetworkPkg.dec b/NetworkPkg/NetworkPkg.dec
index b81f10ef6e..3e1f5c101d 100644
--- a/NetworkPkg/NetworkPkg.dec
+++ b/NetworkPkg/NetworkPkg.dec
@@ -97,10 +97,6 @@
# @Prompt Max size of total HTTP chunk transfer. the default value is 12MB.
gEfiNetworkPkgTokenSpaceGuid.PcdMaxHttpChunkTransfer|0x0C00000|UINT32|0x0000000E
- ## The Timeout value of HTTP IO.
- # @Prompt The Timeout value of HTTP Io. Default value is 5000.
- gEfiNetworkPkgTokenSpaceGuid.PcdHttpIoTimeout|5000|UINT32|0x0000000F
-
[PcdsFixedAtBuild, PcdsPatchableInModule]
## Indicates whether HTTP connections (i.e., unsecured) are permitted or not.
# TRUE - HTTP connections are allowed. Both the "https://" and "http://" URI schemes are permitted.
@@ -160,5 +156,9 @@
# 0x00 = PXE Disabled
gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01|UINT8|0x1000000a
+ ## The Timeout value of HTTP IO.
+ # @Prompt The Timeout value of HTTP Io. Default value is 5000.
+ gEfiNetworkPkgTokenSpaceGuid.PcdHttpIoTimeout|5000|UINT32|0x0000000F
+
[UserExtensions.TianoCore."ExtraFiles"]
NetworkPkgExtra.uni