summaryrefslogtreecommitdiff
path: root/RedfishPkg/RedfishRestExDxe/RedfishRestExProtocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'RedfishPkg/RedfishRestExDxe/RedfishRestExProtocol.c')
-rw-r--r--RedfishPkg/RedfishRestExDxe/RedfishRestExProtocol.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/RedfishPkg/RedfishRestExDxe/RedfishRestExProtocol.c b/RedfishPkg/RedfishRestExDxe/RedfishRestExProtocol.c
index d8f2c73..9097361 100644
--- a/RedfishPkg/RedfishRestExDxe/RedfishRestExProtocol.c
+++ b/RedfishPkg/RedfishRestExDxe/RedfishRestExProtocol.c
@@ -188,6 +188,10 @@ ReSendRequest:;
}
if (EFI_ERROR (Status)) {
+ //
+ // Communication failure happens. Reset the session.
+ //
+ ResetHttpTslSession (Instance);
goto ON_EXIT;
}