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>
This commit is contained in:
committed by
mergify[bot]
parent
147f34b56c
commit
ac70e71b1f
@@ -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
|
||||
|
Reference in New Issue
Block a user