fix: correctly override question type flag for requests#1558
Merged
bdraco merged 2 commits intopython-zeroconf:masterfrom Apr 2, 2025
Merged
fix: correctly override question type flag for requests#1558bdraco merged 2 commits intopython-zeroconf:masterfrom
bdraco merged 2 commits intopython-zeroconf:masterfrom
Conversation
Currently even when setting the explicit question type flag, the implementation ignores it for subsequent queries. This commit ensures that all queries respect the explicit question type flag.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1558 +/- ##
=======================================
Coverage 99.79% 99.79%
=======================================
Files 33 33
Lines 3393 3393
Branches 463 463
=======================================
Hits 3386 3386
Misses 5 5
Partials 2 2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Collaborator
Author
|
Maybe the current behavior is intended, but I don't think so, at least it isn't mentioned when the logic to ask for a unicast on the first request got first implemented: #852. |
CodSpeed Performance ReportMerging #1558 will not alter performanceComparing Summary
|
Add unit test to validate that the explicit question type flag is set correctly in outgoing requests.
b419f32 to
4d5dfa4
Compare
bdraco
approved these changes
Apr 2, 2025
Member
|
Thanks @agners |
This file contains hidden or 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
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.
Currently even when setting the explicit question type flag, the implementation ignores it for subsequent queries. This commit ensures that all queries respect the explicit question type flag.