| Age | Commit message (Collapse) | Author |
|
See also:
https://salsa.debian.org/debian/courier-unicode/-/blob/master/debian/patches/0004-Spelling-Fixes.patch
|
|
|
|
|
|
Fixes to configure scripts and code so that it compiles (hopefully
correctly) with -Wall and -Werror.
Remove support for ancient BSD stricmp and strnicmp functions.
AC_CHECK_FUNC does not work for strcasecmp and strncasecmp under
-Wall, it's simpler to remove it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Move the check for the AXFR query into _idna, and call _tcp
from there. Call _tcp from _multiple_attempt too, in case of truncation.
|
|
The inner loop of rfc1035_resolve_multiple_idna becomes()
rfc1035_resolve_multiple_attempt().
rfc1035_resolve_multiple_idna keeps the retry loop, and the loop
that iterates over all NSes, then the inner part of the loop
becomes rfc1035_resolve_multiple_attempt() which returns NULL
on failure, keeping the loop going. A non-NULL return indicates success.
The code that closes udpfd, and updates rfc1035-dns remains in
rfc1035_resolve_multiple_idna().
|
|
|
|
Adds rfc1035_udp_query_multi(). rfc1035_query_udp is just a wrapper for it,
now.
|
|
The struct rfc1035_udp_query_responses collects multiple UDP responses
to concurrent UDP queries.
rfc1035_udp_query_response_alloc() allocates it.
rfc1035_udp_query_response_free() deletes it.
Nobody else cares about rfc1035_recv_udp, make it static. The existing
rfc1035_recv_udp code gets renamed as rfc1035_recv_one_udp_response,
and receives a rfc1035_udp_query_responses pointer, and instead of
returning a response, and its buflen, it reads a response, and finds
an unanswered query, in rfc1035_udp_query_responses, for which this
response is receives, and saves it there: loop over each query, and
if it doesn't have its response yet, and the response's serial number
matches the query's, store the query there, else throw it away.
The replacement rfc1035_recv_udp wrapper rfc1035_udp_query_response_alloc-s,
rfc1035_recv_one_udp_response, and fetches the received response out of it.
then rfc1035_udp_query_response_free()s.
|
|
|
|
|
|
|
|
DNS lookups use libidn to convert UTF8 hostname to ACE.
DNS replies convert ACE to UTF8 hostnames.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
When A/AAAA records are not included in the MX response, explicitly query
both A and AAAA records, instead of returning A records if they were found;
also query AAAA before A.
MX lookup for an SPF check -- new RFC1035_MX_QUERYALL flag to force
both A and AAAA queries.
|
|
|
|
|
|
|
|
Should never take this error path anyway. If we did, it means that
::ffff: followed by the output of rfc1035_ntoa_ipv4() was not parsable
by inet_pton().
|
|
Imported from subversion report, converted to git. Updated all paths in
scripts and makefiles, reflecting the new directory hierarchy.
|