]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg: Add PCDs for HTTP DNS RetryCount and RetryInterval
authorHeng Luo <heng.luo@intel.com>
Sun, 3 Apr 2022 06:14:10 +0000 (14:14 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 11 Apr 2022 15:12:46 +0000 (15:12 +0000)
commit35a4b63247cb4e42f3484dcf2b45ce9a4360596e
tree7aca461e11c1a24bb0a029270e6a8f9667f896f7
parentdab96cf02e3be378310dd1bce119b0fac6fac958
NetworkPkg: Add PCDs for HTTP DNS RetryCount and RetryInterval

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3889

Currently the HTTP DNS Retry Interval is 2 second and no retry attempt.
If DNS response can't arrive in 2 second, the DNS request is failed,
and then HTTP boot is failed.
In order to resolve this issue, Add PCDs to support RetryCount
and RetryInterval configured in Platform.

Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Signed-off-by: Heng Luo <heng.luo@intel.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
NetworkPkg/HttpDxe/HttpDns.c
NetworkPkg/HttpDxe/HttpDxe.inf
NetworkPkg/NetworkPkg.dec
NetworkPkg/NetworkPkg.uni