Revision: 18450 http://sourceforge.net/p/edk2/code/18450 Author: sfu5 Date: 2015-09-14 09:06:02 +0000 (Mon, 14 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. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan <siyuan...@intel.com> Reviewed-by: Ye Ting <ting...@intel.com> Modified Paths: -------------- trunk/edk2/NetworkPkg/HttpDxe/HttpProto.c Modified: trunk/edk2/NetworkPkg/HttpDxe/HttpProto.c =================================================================== --- trunk/edk2/NetworkPkg/HttpDxe/HttpProto.c 2015-09-14 09:05:49 UTC (rev 18449) +++ trunk/edk2/NetworkPkg/HttpDxe/HttpProto.c 2015-09-14 09:06:02 UTC (rev 18450) @@ -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 edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits