NetworkPkg: Use the New Functions from HttpLib
After submitting changes for HttpLib, other modules should be able to use those functions 1 remove the private function and their calls 2 update it with the functions from httpLib Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ghazi Belaam <Ghazi.belaam@hpe.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Samer EL-Haj-Mahmoud <elhaj@hpe.com> Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
Implementation of EFI_HTTP_PROTOCOL protocol interfaces.
|
||||
|
||||
Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
|
||||
(C) Copyright 2015-2016 Hewlett Packard Enterprise Development LP<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -497,9 +497,10 @@ EfiHttpRequest (
|
||||
goto Error3;
|
||||
}
|
||||
}
|
||||
RequestStr = HttpGenRequestString (HttpInstance, HttpMsg, FileUrl);
|
||||
if (RequestStr == NULL) {
|
||||
Status = EFI_OUT_OF_RESOURCES;
|
||||
|
||||
Status = HttpGenRequestString (HttpMsg, FileUrl, &RequestStr);
|
||||
|
||||
if (EFI_ERROR (Status)) {
|
||||
goto Error3;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user