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
mode,when the last data has been parsed by HttpLib, the HttpInstance->NextMsg
pointer should point a correct location.Now after the first successful
httpboot for ipv4 or ipv6,the HttpInstance->NextMsgpoint the character after
the 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 httpboot
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 <[email protected]>
Reviewed-by: Fu Siyuan <[email protected]>
Reviewed-by: Ye Ting <[email protected]>
Reviewed-by: Wu Jiaxin <[email protected]>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19423
6f19259b-4bc3-4df7-8a09-765794883524
Thanks,
Naveen
-----Original Message-----
From: Zhang, Lubo [mailto:[email protected]]
Sent: Wednesday, August 24, 2016 2:13 PM
To: Santhapur Naveen
Cc: [email protected]
Subject: RE: [edk2] 2nd HttpBoot fails even after upgrading to revision 24729
Hi Naveen
Could you list the patch name or Git SHA value which fixed the 2nd
HttpBootfail issue. On my side, the SVN version 24729 is not exist.
Thanks
Lubo
-----Original Message-----
From: edk2-devel [mailto:[email protected]] On Behalf Of
Santhapur Naveen
Sent: Wednesday, August 24, 2016 3:40 PM
To: [email protected]
Subject: Re: [edk2] 2nd HttpBoot fails even after upgrading to revision 24729
Hello,
Revision 24729 of edk2 says 2nd HttpBoot fail issue has been fixed.
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 know if I have
missed any.
P.S: The first http boot happens successfully though. (downloading a Shell.efi)
Thanks,
Naveen
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel