summaryrefslogtreecommitdiff
path: root/NetworkPkg/HttpBootDxe/HttpBootSupport.h
diff options
context:
space:
mode:
authorJiaxin Wu <jiaxin.wu@intel.com>2016-05-31 22:17:28 +0800
committerJiaxin Wu <jiaxin.wu@intel.com>2016-06-13 11:51:58 +0800
commit7570696c57d446f163050c2befb78b8fc6cfeb02 (patch)
treedb3ccfbe7b9a202cd7bfd81e40f358023d7a2be9 /NetworkPkg/HttpBootDxe/HttpBootSupport.h
parent30526a51dda7e8db483f22a045f32f3a18eea5c7 (diff)
downloadedk2-7570696c57d446f163050c2befb78b8fc6cfeb02.zip
edk2-7570696c57d446f163050c2befb78b8fc6cfeb02.tar.gz
edk2-7570696c57d446f163050c2befb78b8fc6cfeb02.tar.bz2
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 <siyuan.fu@intel.com> Cc: Ye Ting <ting.ye@intel.com> Cc: Zhang Lubo <lubo.zhang@intel.com> Cc: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com> Cc: Gary Lin <glin@suse.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Gary Lin <glin@suse.com> Reviewed-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com> Reviewed-by: Ye Ting <ting.ye@intel.com> Tested-by: Gary Lin <glin@suse.com> Tested-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com>
Diffstat (limited to 'NetworkPkg/HttpBootDxe/HttpBootSupport.h')
-rw-r--r--NetworkPkg/HttpBootDxe/HttpBootSupport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/NetworkPkg/HttpBootDxe/HttpBootSupport.h b/NetworkPkg/HttpBootDxe/HttpBootSupport.h
index 28e8005..4d02427 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;
//