audk/NetworkPkg/HttpBootDxe
Jiaxin Wu f33d39949b NetworkPkg/HttpBootDxe: Fix the incorrect error message output.
For IPv6 case, if one invalid URL returned from DHCP server, HttpBootDxe
driver could not retrieve the URL host address from DNS server. In such a
case, the error message should be printed as:
  Error: Could not retrieve the host address from DNS server.
Instead of:
  Error: Could not discover the boot information for DHCP server.
Then, we can still output as following:
  Error: Could not retrieve NBP file size from HTTP server.

Besides, currently implementation in HttpBootLoadFile will always output
error message even the HTTP process is correct.

This patch is to fix above issue.

Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
2018-03-02 11:15:14 +08:00
..
HttpBootClient.c NetworkPkg/HttpBootDxe: Fix the incorrect error message output. 2018-03-02 11:15:14 +08:00
HttpBootClient.h NetworkPkg/HttpBootDxe: Add HTTP Boot Callback protocol support. 2017-06-22 10:56:25 +08:00
HttpBootComponentName.c
HttpBootComponentName.h
HttpBootConfig.c NetworkPkg: Add PCD to enable the HTTP connections switch 2017-01-23 10:25:29 +08:00
HttpBootConfig.h
HttpBootConfigNVDataStruc.h
HttpBootConfigStrings.uni NetworkPkg: Fix some typos of "according" 2017-02-08 14:48:44 +08:00
HttpBootConfigVfr.vfr
HttpBootDhcp4.c NetworkPkg/HttpBootDxe: Avoid the potential memory leak when eror happen. 2017-12-22 15:50:58 +08:00
HttpBootDhcp4.h NetworkPkg: Check for the max DHCP packet length before use it. 2016-11-18 16:30:50 +08:00
HttpBootDhcp6.c NetworkPkg/HttpBootDxe: Add HTTP Boot Callback protocol support. 2017-06-22 10:56:25 +08:00
HttpBootDhcp6.h NetworkPkg: Check for the max DHCP packet length before use it. 2016-11-18 16:30:50 +08:00
HttpBootDxe.c NetworkPkg/HttpBootDxe: Add check to avoid use NULL pointer 2017-10-30 08:51:42 +08:00
HttpBootDxe.h NetworkPkg/HttpBootDxe: Add IPv6 support condition check. 2017-10-26 16:21:03 +08:00
HttpBootDxe.inf NetworkPkg/HttpBootDxe: Add IPv6 support condition check. 2017-10-26 16:21:03 +08:00
HttpBootDxe.uni
HttpBootDxeExtra.uni
HttpBootImpl.c NetworkPkg/HttpBootDxe: Fix the incorrect error message output. 2018-03-02 11:15:14 +08:00
HttpBootImpl.h NetworkPkg: Update Api from NetLibDetectMedia to NetLibDetectMediaWaitTimeout. 2017-12-18 16:38:24 +08:00
HttpBootSupport.c NetworkPkg/HttpBootDxe: Avoid to corrupt HttpBootDxe setup screen. 2018-01-25 13:37:26 +08:00
HttpBootSupport.h NetworkPkg/HttpBootDxe: Refine the coding style. 2017-08-09 08:29:55 +08:00