mirror of https://github.com/acidanthera/audk.git
When an HTTP server sends a non-chunked body data with no Content-Length header, the HttpParserMessageBody in DxeHttpLib gets confused and never sets the Char pointer beyond the body start. This causes "for" loop to never break because the condition of "Char >= Body + BodyLength" is never satisfied. Use BodyLength as the ContentLength for the parser when ContentLength is absent in HTTP response headers. BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2941 Signed-off-by: Vladimir Olovyannikov <vladimir.olovyannikov@broadcom.com> Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com> |
||
---|---|---|
.. | ||
Application/VConfig | ||
ArpDxe | ||
Dhcp4Dxe | ||
Dhcp6Dxe | ||
DnsDxe | ||
DpcDxe | ||
HttpBootDxe | ||
HttpDxe | ||
HttpUtilitiesDxe | ||
IScsiDxe | ||
Include | ||
Ip4Dxe | ||
Ip6Dxe | ||
Library | ||
MnpDxe | ||
Mtftp4Dxe | ||
Mtftp6Dxe | ||
SnpDxe | ||
TcpDxe | ||
TlsAuthConfigDxe | ||
TlsDxe | ||
Udp4Dxe | ||
Udp6Dxe | ||
UefiPxeBcDxe | ||
VlanConfigDxe | ||
WifiConnectionManagerDxe | ||
Network.dsc.inc | ||
Network.fdf.inc | ||
NetworkComponents.dsc.inc | ||
NetworkDefines.dsc.inc | ||
NetworkLibs.dsc.inc | ||
NetworkPcds.dsc.inc | ||
NetworkPkg.ci.yaml | ||
NetworkPkg.dec | ||
NetworkPkg.dsc | ||
NetworkPkg.uni | ||
NetworkPkgExtra.uni |