mirror of https://github.com/acidanthera/audk.git
NetworkPkg: RxToken event not closed in Http.Response().
This patch contains a bug fix in HTTP driver that the RxToken is not closed, this is one of the main reasons which lower the HTTP download speed. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18450 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
51b0450e00
commit
ccb71333c2
|
@ -104,6 +104,7 @@ HttpTcpReceiveNotify (
|
|||
}
|
||||
|
||||
Wrap = (HTTP_TOKEN_WRAP *) Context;
|
||||
gBS->CloseEvent (Wrap->TcpWrap.RxToken.CompletionToken.Event);
|
||||
if (EFI_ERROR (Wrap->TcpWrap.RxToken.CompletionToken.Status)) {
|
||||
return ;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue