]> git.proxmox.com Git - mirror_edk2.git/commit - NetworkPkg/HttpDxe/HttpImpl.c
NetworkPkg: Fix the HttpCloseConnection fail issue
authorZhang Lubo <lubo.zhang@intel.com>
Sun, 6 Sep 2015 01:30:44 +0000 (01:30 +0000)
committerluobozhang <luobozhang@Edk2>
Sun, 6 Sep 2015 01:30:44 +0000 (01:30 +0000)
commit374ecd04505e028c2eba3f8368f7cd7079c7669f
tree678a0eeb7e9d950c08c83f9cfd3db927b17808b2
parent0a4f7aa05618fda721d3681164a5ac44cfe40d08
NetworkPkg: Fix the HttpCloseConnection fail issue

When HTTP server is unavailable,HttpCloseConnection will enter
infinite loop to wait for TCP4->close Event return, So we need to
decide the Http Instance state whether in the appropriate state
before close it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18400 6f19259b-4bc3-4df7-8a09-765794883524
NetworkPkg/HttpDxe/HttpImpl.c
NetworkPkg/HttpDxe/HttpProto.c