-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Update micro-http for empty MMDS path handling #4468
Merged
zulinx86
merged 2 commits into
firecracker-microvm:main
from
zulinx86:fix_empty_mmds_path
Feb 21, 2024
Merged
Update micro-http for empty MMDS path handling #4468
zulinx86
merged 2 commits into
firecracker-microvm:main
from
zulinx86:fix_empty_mmds_path
Feb 21, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7864c84
to
1a3f7e6
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4468 +/- ##
=======================================
Coverage 81.63% 81.63%
=======================================
Files 243 243
Lines 29789 29789
=======================================
Hits 24319 24319
Misses 5470 5470
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
1a3f7e6
to
6054cc9
Compare
6054cc9
to
f2194e2
Compare
roypat
previously approved these changes
Feb 21, 2024
pb8o
reviewed
Feb 21, 2024
53108a6
to
b39b6a9
Compare
pb8o
previously approved these changes
Feb 21, 2024
Without this change, it ignores non-0 exits that don't print anything on stderr. Signed-off-by: Takahiro Itazuri <[email protected]>
0892084
to
0831669
Compare
When querying a MMDS path that has an empty content, the response didn't contain 'Content-Length' field, resulting in the client waiting for the connection closed by the server or timeout. To fix this issue, micro-http made a change to have the field when the response status code is not 1XX or 204. This commit updates Cargo.lock file to consume this change and also adds an integration test to ensure that it doesn't timeout for an empty MMDS path. The micro-http's change was made on firecracker-microvm/micro-http#48. Signed-off-by: Takahiro Itazuri <[email protected]>
0831669
to
33d1efc
Compare
roypat
approved these changes
Feb 21, 2024
pb8o
approved these changes
Feb 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Reason
When querying a MMDS path that has an empty content, the response didn't
contain 'Content-Length' field, resulting in the client waiting for the
connection closed by the server or timeout. To fix this issue,
micro-http made a change to have the field when the response status code
is not 1XX or 204.
License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md
.PR Checklist
[ ] If a specific issue led to this PR, this PR closes the issue.[ ] Any required documentation changes (code and docs) are included in thisPR.
[ ] API changes follow the Runbook for Firecracker API changes.CHANGELOG.md
.[ ] NewTODO
s link to an issue.contribution quality standards.
rust-vmm
.