Displaying 5 results from an estimated 5 matches for "eai_fail".
2008 Oct 24
0
Name lookup failures and CIDR regression under cygwin ( patch attached )
...quot;,
client_addr(fd), gai_strerror(name_err));
return name_err;
}
Then in the supplied getnameinfo:-
/* We don't support those. */
if ((node && !(flags & NI_NUMERICHOST))
|| (service && !(flags & NI_NUMERICSERV)))
return EAI_FAIL;
if (node) {
return gethostnameinfo(sa, node, nodelen, flags);
}
if (service) {
return getservicenameinfo(sa, service, servicelen, flags);
}
return 0;
There seems to be three issues here:-
1. Both name ( node ) and port ( service ) are passed in but NI_NUMERIC...
2008 Oct 24
5
DO NOT REPLY [Bug 5851] New: Name lookup failures and CIDR regression
...quot;,
client_addr(fd), gai_strerror(name_err));
return name_err;
}
Then in the supplied getnameinfo:-
/* We don't support those. */
if ((node && !(flags & NI_NUMERICHOST))
|| (service && !(flags & NI_NUMERICSERV)))
return EAI_FAIL;
if (node) {
return gethostnameinfo(sa, node, nodelen, flags);
}
if (service) {
return getservicenameinfo(sa, service, servicelen, flags);
}
return 0;
There seems to be three issues here:-
1. Both name ( node ) and port ( service ) are passed in but NI_NUMERIC...
2019 Dec 04
4
Dovecot 2.3.9 fails on FreeBSD
...rro
int error;
enum net_hosterror_type type;
} error_map[] = {
+#ifdef EAI_ADDRFAIMILY /* Obsoleted by RFC 2553bis-02 */
{ EAI_ADDRFAMILY, NET_HOSTERROR_TYPE_NOT_FOUND },
+#endif
{ EAI_AGAIN, NET_HOSTERROR_TYPE_NAMESERVER },
{ EAI_BADFLAGS, NET_HOSTERROR_TYPE_INTERNAL_ERROR },
{ EAI_FAIL, NET_HOSTERROR_TYPE_NAMESERVER },
{ EAI_FAMILY, NET_HOSTERROR_TYPE_INTERNAL_ERROR },
{ EAI_MEMORY, NET_HOSTERROR_TYPE_INTERNAL_ERROR },
+#ifdef EAI_NODATA /* Obsoleted by RFC 2553bis-02 */
{ EAI_NODATA, NET_HOSTERROR_TYPE_NOT_FOUND },
+#endif
{ EAI_NONAME, NET_HOSTERROR_TYPE_NOT_FOUND }...
2019 Dec 04
0
Dovecot 2.3.9 fails on FreeBSD
...f EAI_ADDRFAIMILY /* Obsoleted by RFC 2553bis-02 */
> { EAI_ADDRFAMILY, NET_HOSTERROR_TYPE_NOT_FOUND },
> +#endif
> { EAI_AGAIN, NET_HOSTERROR_TYPE_NAMESERVER },
> { EAI_BADFLAGS, NET_HOSTERROR_TYPE_INTERNAL_ERROR },
> { EAI_FAIL, NET_HOSTERROR_TYPE_NAMESERVER },
> { EAI_FAMILY, NET_HOSTERROR_TYPE_INTERNAL_ERROR },
> { EAI_MEMORY, NET_HOSTERROR_TYPE_INTERNAL_ERROR },
> +#ifdef EAI_NODATA /* Obsoleted by RFC 2553bis-02 */
> { EAI_NODATA, NET_HOSTERROR_TYPE_NOT_FOUND...
2019 Dec 04
4
Dovecot 2.3.9 fails on FreeBSD
Hi
I've just tried to build the latest Dovecot 2.3.9 on FreeBSD 11.3.
Without success...It fails on the following commit which was introduced
in 2.3.9:
https://github.com/dovecot/core/commit/c85f1bc3ce612c736c9d2c468cc08306db1b5851
Following output is the build log: https://pastebin.com/3nvSeDn8
So I guess it has to do with some changes FreeBSD made:
https://reviews.freebsd.org/D18630