3399f64588
RedfishPkg/RedfishRestExDxe: reset session when TCP timeout happens
...
Call ResetHttpTslSession() to reset HTTP session when TCP timeout
failure happens. So that application can perform retry to the same URI.
Signed-off-by: Nickle Wang <nicklew@nvidia.com >
Cc: Abner Chang <abner.chang@amd.com >
Cc: Igor Kulchytskyy <igork@ami.com >
Cc: Nick Ramirez <nramirez@nvidia.com >
Reviewed-by: Abner Chang <abner.chang@amd.com >
2023-07-17 03:58:02 +00:00
d15d2667d5
RedfishPkg: Use DEBUG_MANAGEABILITY
...
Use debug print level DEBUG_MANAGEABILITY in
RedfishPkg.
Signed-off-by: Abner Chang <abner.chang@amd.com >
Cc: Nickle Wang <nicklew@nvidia.com >
Cc: Igor Kulchytskyy <igork@ami.com >
Reviewed-by: Nickle Wang <nicklew@nvidia.com >
2023-05-31 08:42:58 +00:00
997419d16f
RedfishPkg: Update code to be more C11 compliant by using __func__
...
__FUNCTION__ is a pre-standard extension that gcc and Visual C++ among
others support, while __func__ was standardized in C99.
Since it's more standard, replace __FUNCTION__ with __func__ throughout
RedfishPkg.
Signed-off-by: Rebecca Cran <rebecca@bsdio.com >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com >
Ard Biesheuvel <ardb@kernel.org >
Reviewed-by: Nickle Wang <nicklew@nvidia.com >
2023-04-10 14:19:57 +00:00
39254d922e
RedfishPkg/RedfishRestExDxe: Two PCDs for controlling the requests
...
Since BIOS should work with different BMC implementation chunked requests
as well as Expect header should be optional.
- One PCD is used to enable/disable Expect header.
- Another PCD is used to enable/disable chunked requests.
Reviewed-by: Abner Chang <abner.chang@amd.com >
Cc: Abner Chang <abner.chang@amd.com >
Cc: Nickle Wang <nicklew@nvidia.com >
Signed-off-by: Igor Kulchytskyy <igork@ami.com >
2023-02-09 21:40:17 +00:00
7709988dd8
RedfishPkg/RedfishRestExDxe:Simplify status check
...
Remove redundant determine statements.
No functional change.
Cc: Abner Chang <abner.chang@hpe.com >
Cc: Nickle Wang <nickle.wang@hpe.com >
Signed-off-by: Wenyi Xie <xiewenyi2@huawei.com >
2022-01-20 13:26:51 +00:00
39de741e2d
RedfishPkg: Apply uncrustify changes
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737
Apply uncrustify changes to .c/.h files in the RedfishPkg package
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Abner Chang <abner.chang@hpe.com >
2021-12-07 17:24:28 +00:00
a7cf2c5664
RedfishPkg: Fix various typos
...
Fix various typos in comments and documentation.
Signed-off-by: Cheng Zhou <zhoucheng@phytium.com.cn >
Reviewed-by: Nickle Wang <nickle.wang@hpe.com >
Cc: Abner Chang <abner.chang@hpe.com >
Reviewed-by: Abner Chang <abner.chang@hpe.com >
2021-09-07 03:56:13 +00:00
10dc8c561c
RedfishPkg/RedfishRestExDxe: Implementation of EFI REST EX Protocol
...
BZ#: 2908
https://bugzilla.tianocore.org/show_bug.cgi?id=2908
Implementation of EFI EX Protocol according to UEFI spec
2.8 Section 29.7.2 EFI REST EX Protocol.
This is the network stack based EFI REST EX protocol instance.
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com >
Signed-off-by: Siyuan Fu <siyuan.fu@intel.com >
Signed-off-by: Fan Wang <fan.wang@intel.com >
Signed-off-by: Ting Ye <ting.ye@intel.com >
Signed-off-by: Abner Chang <abner.chang@hpe.com >
Cc: Jiaxin Wu <jiaxin.wu@intel.com >
Cc: Siyuan Fu <siyuan.fu@intel.com >
Cc: Fan Wang <fan.wang@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Nickle Wang <nickle.wang@hpe.com >
Cc: Peter O'Hanley <peter.ohanley@hpe.com >
Reviewed-by: Nickle Wang <nickle.wang@hpe.com >
2020-12-10 06:04:49 +00:00