Coder Social home page Coder Social logo

Comments (3)

keepsimple1 avatar keepsimple1 commented on July 17, 2024

I was able to reproduce this issue, and here is a log:

publisher:

$ avahi-publish-service pi1 _pub-test._udp 1234 path=one
Established under name 'pi1'

browser: (started before the publisher above)

 cargo run --example query _pub-test._udp
    Finished dev [unoptimized + debuginfo] target(s) in 0.05s
     Running `target/debug/examples/query _pub-test._udp`
At 165.572µs : Received other event: SearchStarted("_pub-test._udp.local. on addrs [192.168.0.115]")
At 1.015156173s : Received other event: SearchStarted("_pub-test._udp.local. on addrs [192.168.0.115]")
At 3.034112873s : Received other event: SearchStarted("_pub-test._udp.local. on addrs [192.168.0.115]")
At 7.04311425s : Received other event: SearchStarted("_pub-test._udp.local. on addrs [192.168.0.115]")
At 15.053982273s : Received other event: SearchStarted("_pub-test._udp.local. on addrs [192.168.0.115]")
At 31.071824092s : Received other event: SearchStarted("_pub-test._udp.local. on addrs [192.168.0.115]")
        At 63.074141451s : Received other event: SearchStarted("_pub-test._udp.local. on addrs [192.168.0.115]")
At 127.190416462s : Received other event: SearchStarted("_pub-test._udp.local. on addrs [192.168.0.115]")
At 255.205053949s : Received other event: SearchStarted("_pub-test._udp.local. on addrs [192.168.0.115]")
At 396.578404231s : Received other event: ServiceFound("_pub-test._udp.local.", "pi1._pub-test._udp.local.")
At 396.578439007s: Resolved a new service: pi1._pub-test._udp.local. IP: {192.168.0.114} TXT properties: TxtProperties { properties: [] }

from mdns-sd.

keepsimple1 avatar keepsimple1 commented on July 17, 2024

Root cause analysis:

In some publishing messages, TXT records are in front of PTR records. However, our current implementation only inserts a new instance-to-resolve based on PTR records. This means that any records (including TXT records) processed before PTR would not be used to resolve an instance, effectively skipped.

from mdns-sd.

keepsimple1 avatar keepsimple1 commented on July 17, 2024

My testing shows that the problem is fixed with the PR.

from mdns-sd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.