-
Notifications
You must be signed in to change notification settings - Fork 998
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
Add libp2p-mdns #590
Merged
Merged
Add libp2p-mdns #590
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
4e9fef7
Add libp2p-mdns
tomaka 6c4ad95
Fix win32
tomaka f1e0c49
Make compatible with Rust 1.29
tomaka 795f7e2
Remove mDNS on esmcripten
tomaka 185645f
Merge remote-tracking branch 'upstream/master' into mdns
tomaka 183e4eb
Fix concerns
tomaka 4b435ee
More concern
tomaka ff9b1c3
Use append_u16
tomaka 8843055
Make decode_character_string return a Cow
tomaka 323e3b0
Add TODO
tomaka 0183bd5
Merge remote-tracking branch 'upstream/master' into mdns
tomaka 7397397
Don't send queries from 5353
tomaka d748cf5
Fix flags
tomaka 0bb3335
More flags fix
tomaka e68a788
More concerns
tomaka a67f550
Merge branch 'master' into mdns
tomaka e1e9745
Fix flags
tomaka cff276e
Merge branch 'master' into mdns
tomaka 65b5ede
Fix removed env_logger
tomaka f812b27
Merge branch 'master' into mdns
tomaka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use append_u16
- Loading branch information
commit ff9b1c36d14d76f1d37fb0a748e6ce45d2abc30f
There are no files selected for viewing
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIUC this sets the flush-cache bit saying that this record is the sole truth. I guess this implies that this responder owns the name and no other responder is expected to answer that query.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I set this to
0x8000
, then thednsparser
crate is incapable of parsing the response w generate. Not sure why.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without the flush-cache-bit you would use 1 (internet class).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, ok!