diff options
author | Leandro Becker <lbecker@positivo.com.br> | 2024-08-27 12:17:10 -0300 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-13 10:26:09 +0000 |
commit | 69139e39bc9bd7410ee71a830b812fb74d21bdb4 (patch) | |
tree | d02c3a25301863a4b5a1681d561f709957a0b7cc /NetworkPkg/NetworkPkg.dec | |
parent | 52621088222cc6655069c4d63a2ecba5b1555d18 (diff) | |
download | edk2-69139e39bc9bd7410ee71a830b812fb74d21bdb4.tar.gz edk2-69139e39bc9bd7410ee71a830b812fb74d21bdb4.tar.bz2 edk2-69139e39bc9bd7410ee71a830b812fb74d21bdb4.zip |
NetworkPkg/HttpBootDxe: Resume an interrupted boot file download.
When the boot file download operation is interrupted for some reason,
HttpBootDxe will use HTTP Range header to try resume the download
operation reusing the bytes downloaded so far.
Signed-off-by: Leandro Gustavo Biss Becker <lbecker@positivo.com.br>
Diffstat (limited to 'NetworkPkg/NetworkPkg.dec')
-rw-r--r-- | NetworkPkg/NetworkPkg.dec | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/NetworkPkg/NetworkPkg.dec b/NetworkPkg/NetworkPkg.dec index 7c4289b77b..29fc0c046c 100644 --- a/NetworkPkg/NetworkPkg.dec +++ b/NetworkPkg/NetworkPkg.dec @@ -104,6 +104,16 @@ # @Prompt Max size of total HTTP chunk transfer. the default value is 12MB.
gEfiNetworkPkgTokenSpaceGuid.PcdMaxHttpChunkTransfer|0x0C00000|UINT32|0x0000000E
+ ## The maximum number of retries while attempting to resume an
+ # interrupted HTTP download using a HTTP Range request header.
+ # @Prompt Max number of HTTP download resume retries. Default value is 5.
+ gEfiNetworkPkgTokenSpaceGuid.PcdMaxHttpResumeRetries|0x00000005|UINT32|0x00000012
+
+ ## Delay in seconds between each attempt to resume an
+ # interrupted HTTP download.
+ # @Prompt Delay in seconds between each HTTP resume retry. Default value is 2s.
+ gEfiNetworkPkgTokenSpaceGuid.PcdHttpDelayBetweenResumeRetries|0x00000002|UINT32|0x00000013
+
[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.
|