From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from IMSVA.IN.MEGATRENDS.COM (venus.amiindia.co.in [111.93.197.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 65AC71A1E29 for ; Wed, 24 Aug 2016 01:52:43 -0700 (PDT) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 06E0782059; Wed, 24 Aug 2016 14:22:39 +0530 (IST) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EEBCE82058; Wed, 24 Aug 2016 14:22:38 +0530 (IST) Received: from webmail.amiindia.co.in (venus2.in.megatrends.com [10.0.0.7]) by IMSVA.IN.MEGATRENDS.COM (Postfix) with ESMTPS; Wed, 24 Aug 2016 14:22:38 +0530 (IST) Received: from VENUS1.in.megatrends.com ([fe80::951:7975:6ecf:eae5]) by Venus2.in.megatrends.com ([fe80::2002:4a07:4f17:c09b%14]) with mapi id 14.03.0248.002; Wed, 24 Aug 2016 14:22:32 +0530 From: Santhapur Naveen To: "Zhang, Lubo" CC: "edk2-devel@lists.01.org" Thread-Topic: [edk2] 2nd HttpBoot fails even after upgrading to revision 24729 Thread-Index: AQHR/eOwAXfjUxc6LEqtj9/+ukEYw6BXzFjw Date: Wed, 24 Aug 2016 08:52:31 +0000 Message-ID: <625A2455CC232F40B0F38F05ACED6D976C541869@VENUS1.in.megatrends.com> References: <625A2455CC232F40B0F38F05ACED6D976C541797@VENUS1.in.megatrends.com> <7619447B08B8F74DA4FF2A813B79803B01A53538@shsmsx102.ccr.corp.intel.com> In-Reply-To: <7619447B08B8F74DA4FF2A813B79803B01A53538@shsmsx102.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.93.16] MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSVA-9.1.0.1600-8.1.0.1054-22532.006 X-TM-AS-Result: No--13.065-5.0-31-10 X-imss-scan-details: No--13.065-5.0-31-10 X-TMASE-Version: IMSVA-9.1.0.1600-8.1.1054-22532.006 X-TMASE-Result: 10--13.064900-10.000000 X-TMASE-MatchedRID: 1GZI+iG+Mteou23x/MO9B7xygpRxo469vtVce6w5+K+7+NPPxj+R6syP 62bokeB3pg88JvjuALAVLdL1nSIVCuBJ9i6r4a9i3FqOVb7PDEJBrawMcuRDTsUmcSma304TrU6 NGNF46pbBe2jPP90esXiYq+jXD3bYEbjpuHFTtb5jVtAwIy+afvioIsi7Sa0ghfrrhbqMw+Kbnu aR3rZo7DFxJ+DPhnFrXEGAbuaD8OX1Ht3BefL9t2a/Ap3NryUfLdLfmiFS7fsT7lsB95pa6kkZp +s287TWxYPys1lVwcj6VRmGJscOGqbzNnoSkjMBGFMYlDUzwr2STnFzEHOIwWjliw+xvItdOlt9 1MBw1ebi8zVgXoAltqKp26VYGwwXC24oEZ6SpSkj80Za3RRg8ENeGpGioWTZPpWSAjiNXwKFyyG YKtVP0cNsEjzsoEgUQCl30gpd5m8= X-TMASE-SNAP-Result: 1.811037.0001-0-1-12:0,22:0,33:0,34:0,39:0-0 Subject: Re: 2nd HttpBoot fails even after upgrading to revision 24729 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2016 08:52:44 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Lubo, Please find the following details that may help. NetworkPkg:Fix a bug the 2nd httpboot fail issue. Httpboot over Ipv4 or Ipv6 stack,for both Identity and chunked transfer mod= e,when the last data has been parsed by HttpLib, the HttpInstance->NextMsg = pointer should point a correct location.Now after the first successful htt= pboot for ipv4 or ipv6,the HttpInstance->NextMsgpoint the character after t= he last byte, it may be a bad buffer if we don't receive another HttpHeader= , so if call a 2nd httpboot, the wrong NextMsg pointer will cause the httpb= oot fail, so we need to check this case in HttpBodyParserCallback function = in the first http boot process. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo Reviewed-by: Fu Siyuan Reviewed-by: Ye Ting Reviewed-by: Wu Jiaxin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19423 6f19259b-4= bc3-4df7-8a09-765794883524 Thanks, Naveen -----Original Message----- From: Zhang, Lubo [mailto:lubo.zhang@intel.com]=20 Sent: Wednesday, August 24, 2016 2:13 PM To: Santhapur Naveen Cc: edk2-devel@lists.01.org Subject: RE: [edk2] 2nd HttpBoot fails even after upgrading to revision 247= 29 Hi Naveen Could you list the patch name or Git SHA value which fixed the 2nd Htt= pBootfail issue. On my side, the SVN version 24729 is not exist. Thanks=20 Lubo=20 -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Sant= hapur Naveen Sent: Wednesday, August 24, 2016 3:40 PM To: edk2-devel@lists.01.org Subject: Re: [edk2] 2nd HttpBoot fails even after upgrading to revision 247= 29 Hello, Revision 24729 of edk2 says 2nd HttpBoot fail issue has been fixe= d. So, I have taken the changes from the file NetworkPkg/HttpDxe/HttpImpl.c= of the revsision 24729 and still the 2nd HttpBoot fails. Please let me kn= ow if I have missed any. P.S: The first http boot happens successfully though. (downloading a Shell.= efi) Thanks, Naveen _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel