Commit ad5033d1 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Use ADNS, so that IPv4 reverse DNS lookups are non-blocking. Since

ADNS does not yet support IPv6, reverse lookups of IPv6 addresses are
still blocking.  (Bug 627).
parent 5b3f78d4
2003-08-06 Per Cederqvist <ceder@ceder.dyndns.org>
Use ADNS, so that IPv4 reverse DNS lookups are non-blocking.
Since ADNS does not yet support IPv6, reverse lookups of IPv6
addresses are still blocking. (Bug 627).
* src/server/prot-a.c (prot_a_parse_packet): Skip whitespace when
blocking the client waiting for a DNS reply.
* src/server/connections.c (parse_unparsed): Return immediately if
the session became blocked by DNS.
(dns_resolution): Schedule an idle check, as a client may have
become unblocked. Don't call isc_enable() here. Instead, add the
session to the run-queue. There may be pending input in the input
buffer. Handle ADNS errors.
(login_request): Check the return value of isc_resolve_remote().
(read_from_connection): Return if the session is blocked by DNS.
* src/server/testsuite/lyskomd.0/regexp-match-cov.exp: After the
adns integration, we need to ignore 25 unreachable blocks.
* src/server/testsuite/lyskomd.0/aux-items-cov.exp: After the
adns integration, we need to ignore 25 unreachable blocks.
* src/server/testsuite/config/unix.exp (check_valgrind): After the
adns integration, we need to ignore 25 unreachable blocks.
Added the ability to do reverse queries to the oop adns adapter.
* src/libraries/liboop/oop-adns.h, src/libraries/liboop/adns.c
(oop_adns_submit): New argument: errcode.
(oop_adns_submit_reverse): New function.
2003-08-05 Per Cederqvist <ceder@ceder.dyndns.org>
Update testsuite: clients that hasn't completed the handshake
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment