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
@@ -3,7 +3,7 @@
|
||||
//
|
||||
// This package provides network modules that conform to UEFI 2.4 specification.
|
||||
//
|
||||
// Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR>
|
||||
// Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.<BR>
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
//
|
||||
@@ -105,3 +105,9 @@
|
||||
#string STR_gEfiNetworkPkgTokenSpaceGuid_PcdTftpBlockSize_HELP #language en-US "This setting can override the default TFTP block size. A value of 0 computes "
|
||||
"the default from MTU information. A non-zero value will be used as block size "
|
||||
"in bytes."
|
||||
|
||||
#string STR_gEfiNetworkPkgTokenSpaceGuid_PcdHttpIoTimeout_PROMPT #language en-US "HTTP Boot Image Request and Response Timeout"
|
||||
|
||||
#string STR_gEfiNetworkPkgTokenSpaceGuid_PcdHttpIoTimeout_HELP #language en-US "This value is used to configure the request and response timeout when getting "
|
||||
"the recovery image from the remote source during an HTTP recovery boot."
|
||||
"The default value set is 5 seconds."
|
||||
|
Reference in New Issue
Block a user