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>
This commit is contained in:
committed by
mergify[bot]
parent
dd49d448b0
commit
3399f64588
@@ -188,6 +188,10 @@ ReSendRequest:;
|
||||
}
|
||||
|
||||
if (EFI_ERROR (Status)) {
|
||||
//
|
||||
// Communication failure happens. Reset the session.
|
||||
//
|
||||
ResetHttpTslSession (Instance);
|
||||
goto ON_EXIT;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user