]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c
MdeModulePkg:DxeHttpLib: Add checks in HttpGenRequestMessage API
authorNagaraj Hegde <nagaraj-p.hegde@hpe.com>
Thu, 5 May 2016 06:59:03 +0000 (14:59 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Fri, 13 May 2016 01:29:07 +0000 (09:29 +0800)
commit09991304c94a42fa1184e1a4c34da5e5cfd8f9be
tree6992a7c5ea868e8ff9c587741741a0de295abe32
parent0c986eafae6135190270a7b3d615861c9cc9c8d8
MdeModulePkg:DxeHttpLib: Add checks in HttpGenRequestMessage API

HttpGenRequestMessage assumes that HTTP message would always
contain a request-line, headers and an optional message body.
However, subsequent to a HTTP PUT/POST request, HTTP requests
would contain just the message body. This patch supports
creation of such request messages with additional checks.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hegde, Nagaraj P <nagaraj-p.hegde@hpe.com>
Reviewed-By: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c