Revision: 18460
http://sourceforge.net/p/edk2/code/18460
Author: hwu1225
Date: 2015-09-15 05:39:48 +0000 (Tue, 15 Sep 2015)
Log Message:
-----------
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.
(Sync patch r18450 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <[email protected]>
Reviewed-by: Ye Ting <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/18450
Modified Paths:
--------------
branches/UDK2015/NetworkPkg/HttpDxe/HttpProto.c
Modified: branches/UDK2015/NetworkPkg/HttpDxe/HttpProto.c
===================================================================
--- branches/UDK2015/NetworkPkg/HttpDxe/HttpProto.c 2015-09-15 05:39:28 UTC
(rev 18459)
+++ branches/UDK2015/NetworkPkg/HttpDxe/HttpProto.c 2015-09-15 05:39:48 UTC
(rev 18460)
@@ -104,6 +104,7 @@
}
Wrap = (HTTP_TOKEN_WRAP *) Context;
+ gBS->CloseEvent (Wrap->TcpWrap.RxToken.CompletionToken.Event);
if (EFI_ERROR (Wrap->TcpWrap.RxToken.CompletionToken.Status)) {
return ;
}
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits