mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-03 05:19:34 -05: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:
parent
510b8df4b6
commit
a941253a81
2 changed files with 3 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue