summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/HttpDxe/HttpProto.h
diff options
context:
space:
mode:
authorZhang Lubo <lubo.zhang@intel.com>2015-11-13 09:35:54 +0000
committerluobozhang <luobozhang@Edk2>2015-11-13 09:35:54 +0000
commita2e619821a791de5cd65cd2c757de0a8aa7f138c (patch)
tree652907503eeb74d2930feccb2f3f0d207a01bf5b /NetworkPkg/HttpDxe/HttpProto.h
parentc374aa43a199a5aab53218ef3cf99284ba19ae98 (diff)
downloadedk2-a2e619821a791de5cd65cd2c757de0a8aa7f138c.tar.gz
edk2-a2e619821a791de5cd65cd2c757de0a8aa7f138c.tar.bz2
edk2-a2e619821a791de5cd65cd2c757de0a8aa7f138c.zip
NetworkPkg: Httpboot will fail the 2nd time result by wrong TCP state.
If the 2nd boot quickly after the first succeed boot, it will function well. But if you wait for some time after 1nd succeed boot and boot again, the TCP state may change from established to closed wait as the http server send fin flag, then boot fail occurred. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo <lubo.zhang@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18783 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg/HttpDxe/HttpProto.h')
-rw-r--r--NetworkPkg/HttpDxe/HttpProto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/NetworkPkg/HttpDxe/HttpProto.h b/NetworkPkg/HttpDxe/HttpProto.h
index a15e0a87be..e43a2dc01c 100644
--- a/NetworkPkg/HttpDxe/HttpProto.h
+++ b/NetworkPkg/HttpDxe/HttpProto.h
@@ -456,6 +456,7 @@ HttpTcpNotReady (
@param[in] HttpInstance The HTTP instance private data.
@param[in] Wrap The HTTP token's wrap data.
+ @param[in] Configure The Flag indicates whether the first time to initialize Tcp.
@retval EFI_SUCCESS The initialization of TCP instance is done.
@retval Others Other error as indicated.
@@ -464,7 +465,8 @@ HttpTcpNotReady (
EFI_STATUS
HttpInitTcp (
IN HTTP_PROTOCOL *HttpInstance,
- IN HTTP_TOKEN_WRAP *Wrap
+ IN HTTP_TOKEN_WRAP *Wrap,
+ IN BOOLEAN Configure
);
/**