OpenPrinting / ipp-usb

ipp-usb -- HTTP reverse proxy, backed by IPP-over-USB connection to device
BSD 2-Clause "Simplified" License
129 stars 11 forks source link

Avahi fail to register the server name if the dnssd name is more than 57 bytes #8

Closed tangyanli closed 4 years ago

tangyanli commented 4 years ago

Hi, Alexander

This is a small issue, and I found it by accident. I set the dnssd name up to the maximum length (64 bytes) at printer side (normally, user will not set so long dnssd name), then the avahi fails to register the server.

It seems the issue is caused by the suffix " (USB)" appended after the dnssd name. And I can avoid this issue by setting a shorter dnssd name at the printer side.

alexpevzner commented 4 years ago

Fixed, thanks!