[cups.bugs] [HIGH] STR #2486: httpAddrLookup() fails when getnameinfo() returns EAI_AGAIN status
next_ghost at quick.cz
Sun Aug 19 09:15:48 PDT 2007
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
I have a CUPS print server in one subnet and a client in another. The
client CUPS is set to BrowsePoll the server but receives malformed IPP
response (printer-uri-supported=ipp://:631/printers/printer), the IP
address of the server is missing.
I've tracked the problem to httpAddrLookup() where getnameinfo() returns
EAI_AGAIN which causes this behaviour. The print server has no DNS entry
on the default DNS server.
The expected behaviour should be similar to gethostbyaddr failure right
below where the IP address is copied to the buffer instead.
More information about the cups-devel