]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/TcpIoLib: Cancel TCP token if connect/accept is timeout.
authorFu Siyuan <siyuan.fu@intel.com>
Tue, 5 Dec 2017 06:22:48 +0000 (14:22 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Tue, 12 Dec 2017 07:50:31 +0000 (15:50 +0800)
commit267345ff4f309ad6d4a12b358e1746ba079092d9
tree1a2fd5c94129253de56857da2bebc4684eb15936
parentb5035efab4c44dea1769034f1f9b23a49fe86f85
MdeModulePkg/TcpIoLib: Cancel TCP token if connect/accept is timeout.

This patch updates TcpIoConnect() and TcpIoAccept() that the Tcp.Cancel()
should be invoked to cancel the corresponding request when timeout occurs.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.c