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 B9AEE1A1E24 for ; Wed, 24 Aug 2016 04:09:39 -0700 (PDT) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AF9598204A; Wed, 24 Aug 2016 16:39:43 +0530 (IST) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A328B8205A; Wed, 24 Aug 2016 16:39:43 +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 16:39:43 +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 16:39:36 +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///G64CAAFz1AA== Date: Wed, 24 Aug 2016 11:09:35 +0000 Message-ID: <625A2455CC232F40B0F38F05ACED6D976C541A16@VENUS1.in.megatrends.com> References: <625A2455CC232F40B0F38F05ACED6D976C541797@VENUS1.in.megatrends.com> <7619447B08B8F74DA4FF2A813B79803B01A53538@shsmsx102.ccr.corp.intel.com> <625A2455CC232F40B0F38F05ACED6D976C541869@VENUS1.in.megatrends.com> <7619447B08B8F74DA4FF2A813B79803B01A53649@shsmsx102.ccr.corp.intel.com> In-Reply-To: <7619447B08B8F74DA4FF2A813B79803B01A53649@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--21.169-5.0-31-10 X-imss-scan-details: No--21.169-5.0-31-10 X-TMASE-Version: IMSVA-9.1.0.1600-8.1.1054-22532.006 X-TMASE-Result: 10--21.169500-10.000000 X-TMASE-MatchedRID: xcONGPdDH5qou23x/MO9B7xygpRxo469NNuh+5zmS68n+p552csI1Xg9 meXBdTAAeH3oKRyInqbDvwUIQy7aDVys04s9MQHglVHM/F6YkvTzDYp7UcGG57v408/GP5HqkRY qOIRpDVQOThCqRQ4QPdmLAI+AMFgRz/fsIislIEAdxBAG5/hkW77VXHusOfivnQqircTOm4cnNw sxuUJvN10+aUSxlEKosdZTJ6++iZWE9zgVMk3pXlPjo7D4SFg4IaVkFIrQFhshvFjBsLEZNPbUh Pv66jYYQjqmIoWQ8wBrlcUn4qTzJBG46bhxU7W+Y1bQMCMvmn4GAD6h6FZmEX6S1GjwPFRdID6D MKSDmdgMN/BRFK2ROm5J1o+HcEa+pvM2ehKSMwEYUxiUNTPCvZJOcXMQc4jBaOWLD7G8i106W33 UwHDV5uLzNWBegCW2wRbUzyFk3qQJDq6FP0TYUsRB0bsfrpPIVFtPyfy8yzAD/dHyT/Xh7Q== 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 11:09:40 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Lubo, Can you please provide me any reference revision number to download and ch= eck the same? Thank you, Naveen -----Original Message----- From: Zhang, Lubo [mailto:lubo.zhang@intel.com]=20 Sent: Wednesday, August 24, 2016 4:23 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 I have checked the issue you mentioned. On my side, I updated the cod= e to latest and do some test on NT32 and Denlow platform, both the first ht= tp boot and 2nd are successful.=20 Until now , we have fixed few bugs which may lead the 2nd http boot f= ail. As for the patch you mentioned is one case to fix the bug, So I sugges= t you to update the code firstly and at least make sure the HttpDxe , HttpB= ootDxe and DxeHttpLib are latest.=20 =20 If any result, Pls let me know. Best Regards Lubo=20 =20 -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Sant= hapur Naveen Sent: Wednesday, August 24, 2016 4:53 PM To: Zhang, Lubo Cc: edk2-devel@lists.01.org Subject: Re: [edk2] 2nd HttpBoot fails even after upgrading to revision 247= 29 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 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel