]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c
MdeModulePkg:DxeHttpLib: Update to DxeHttpLib API
authorNagaraj Hegde <nagaraj-p.hegde@hpe.com>
Mon, 4 Apr 2016 10:09:27 +0000 (18:09 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Wed, 27 Apr 2016 02:43:08 +0000 (10:43 +0800)
commite297a0a498139cedca232aff69c41c8996151f0b
treef88024dbac07681cf9197642dd5a0b3f2427857b
parent0aa0beca37c686c028da47a801b0db6c770b81e8
MdeModulePkg:DxeHttpLib: Update to DxeHttpLib API

Rename and update the logic of HttpGenRequestString API provided
by DxeHttpLib. The RequestString size is returned as an argument.
The user is not expected to do a AsciiStrLen anymore, and is not
logical too, since request string can contain message body and
using AsciiStrLen on such a string can provide truncated lengths.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Nagaraj Hegde <nagaraj-p.hegde@hpe.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com>
MdeModulePkg/Include/Library/HttpLib.h
MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c