Ticket #64 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

bonjour compat API needs more love

Reported by: lennart Assigned to: lathiat
Priority: major Milestone: Avahi 0.6.16
Component: avahi-compat-libdns_sd Version:
Keywords: Cc:

Description

Quoting a mail form JP Roseavear:

Attached is a patch to improve mDNSResponder compatability.  For
DNSServiceBrowse and DNSServiceBrowser the apple lib returns an error if
ret_sdref is NULL and always guarantees the ret_sdref does not return
garbage (worst case it sets it to NULL).  Apps definitely rely on the
latter, see https://bugzilla.novell.com/show_bug.cgi?id=213891 for
gphoto2 at least.  Registering a service with an empty regtype should
also fail gracefully.

I remove the callback assert because apple allows that as well (maybe
not so good for avahi?)

Attachments

avahi-mdns-compat-browse-register.patch (0.9 kB) - added by lennart on 10/28/06 19:01:44.

Change History

10/28/06 19:01:44 changed by lennart

  • attachment avahi-mdns-compat-browse-register.patch added.

11/11/06 01:04:35 changed by lathiat

lennart - any reason not to apply this?

11/19/06 01:19:16 changed by lennart

Looks fine to me.

12/11/06 15:39:03 changed by lathiat

  • owner changed from lennart to lathiat.
  • status changed from new to assigned.
  • milestone set to Avahi 0.6.16.

12/28/06 16:47:25 changed by lathiat

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in R1345