Skip to content

Commit

Permalink
[Bug] Revert invalid change which breaks DFCI Refresh from network. (#61
Browse files Browse the repository at this point in the history
)

Broken change was checked in as PR #3 "Add Test requirement for using local Refresh from Network server. (#3)".  Commit hash 577c811

This patch reverts one change from the refresh from network code path that triggered an error code 400 (bad request) response from the URL endpoint.  

- [x] Impacts functionality?


## How This Was Tested

Code inspection.  Additional testing will be done by product teams.
  • Loading branch information
spbrogan authored Mar 31, 2023
1 parent f60becd commit 3b324ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions DfciPkg/Application/DfciMenu/DfciRequest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1638,6 +1638,14 @@ DfciMainLogic (
*DoneProcessing = FALSE;
NetworkRequest->LogicState = DFCI_PRE_BOOTSTRAP;

//
// Step 1. Ping server with Bootstrap URL provided in DFCI settings
//
Status = BuildJsonBootstrapRequest (NetworkRequest);
if (EFI_ERROR (Status)) {
goto MAIN_CLEANUP;
}

Status = ProcessAsyncRequest (
NetworkRequest,
NetworkRequest->HttpRequest.BootstrapUrl,
Expand Down

0 comments on commit 3b324ef

Please sign in to comment.