From 7570696c57d446f163050c2befb78b8fc6cfeb02 Mon Sep 17 00:00:00 2001 From: Jiaxin Wu Date: Tue, 31 May 2016 22:17:28 +0800 Subject: NetworkPkg: Handling timeout case in httpboot driver This patch is used to handle timeout case when downloading the message. The Status in the token should also be checked to handle any response error case including timeout case. Cc: Fu Siyuan Cc: Ye Ting Cc: Zhang Lubo Cc: Hegde Nagaraj P Cc: Gary Lin Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu Reviewed-by: Gary Lin Reviewed-by: Hegde Nagaraj P Reviewed-by: Ye Ting Tested-by: Gary Lin Tested-by: Hegde Nagaraj P --- NetworkPkg/HttpBootDxe/HttpBootSupport.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NetworkPkg/HttpBootDxe/HttpBootSupport.h') diff --git a/NetworkPkg/HttpBootDxe/HttpBootSupport.h b/NetworkPkg/HttpBootDxe/HttpBootSupport.h index 28e8005d21..4d024277b5 100644 --- a/NetworkPkg/HttpBootDxe/HttpBootSupport.h +++ b/NetworkPkg/HttpBootDxe/HttpBootSupport.h @@ -196,6 +196,8 @@ typedef struct { BOOLEAN IsTxDone; BOOLEAN IsRxDone; + + EFI_EVENT TimeoutEvent; } HTTP_IO; // -- cgit v1.2.3