mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-08 02:47:43 +02:00
Neater error for tcp connect problems.
git-svn-id: file:///svn/unbound/trunk@415 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
- cleanup slumber list of runnable states.
|
||||
- module_subreq_depth fails to work in slumber list.
|
||||
- fixup query release for cached results to sub targets.
|
||||
- neater error for tcp connection failure, shows addr in verbose.
|
||||
|
||||
20 June 2007: Wouter
|
||||
- new -C option to enable coredumps after forking away.
|
||||
|
||||
@@ -1053,6 +1053,8 @@ serviced_tcp_callback(struct comm_point* c, void* arg, int error,
|
||||
struct serviced_query* sq = (struct serviced_query*)arg;
|
||||
struct comm_reply r2;
|
||||
sq->pending = NULL; /* removed after this callback */
|
||||
if(error != NETEVENT_NOERROR && verbosity >= VERB_DETAIL)
|
||||
log_addr("tcp error for address", &sq->addr, sq->addrlen);
|
||||
if(error==NETEVENT_NOERROR && LDNS_RCODE_WIRE(ldns_buffer_begin(
|
||||
c->buffer)) == LDNS_RCODE_FORMERR &&
|
||||
sq->status == serviced_query_TCP_EDNS) {
|
||||
|
||||
Reference in New Issue
Block a user