Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkPkg/HttpBootDxe: Report download error when resume attempts fail #6227

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

leandrobecker-pst
Copy link
Contributor

Report download error status to the caller when all HTTP resume attempts fail.

Description

When all HTTP resume attempts to continue an interrupted NBP file download have failed, report the failure status to the caller.
Original implementation was returning success when number of retries reaches the limit defined by PcdMaxHttpResumeRetries.

  • Breaking change?
    • Breaking change - Does this PR cause a break in build or boot behavior?
    • Examples: Does it add a new library class or move a module to a different repo.
  • Impacts security?
    • Security - Does this PR have a direct security impact?
    • Examples: Crypto algorithm change or buffer overflow fix.
  • Includes tests?
    • Tests - Does this PR include any explicit test code?
    • Examples: Unit tests or integration tests.

How This Was Tested

Configure the UEFI HTTP Boot feature to download a .ISO file. During the file download, remove the uplink cable from your network switch and wait for download error.

Integration Instructions

N/A

When all resume attempts to continue an interrupted NBP file
download have failed, report the failure status to the caller.

Original implementation was returning success when number of
retries reaches the limit defined by PcdMaxHttpResumeRetries.

Signed-off-by: Leandro Gustavo Biss Becker <[email protected]>
@leandrobecker-pst
Copy link
Contributor Author

Hi @SaloniKasbekar,
Any issue with my pull request? I did not get any feedback from the reviewers. Sorry if I'm bothering you about this, I do not know the timelines for reviewing pull requests.
Thank you.

@mdkinney mdkinney added the push Auto push patch series in PR if all checks pass label Oct 15, 2024
@mergify mergify bot merged commit b3efbda into tianocore:master Oct 15, 2024
126 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
push Auto push patch series in PR if all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants