From: Wouter Wijngaards Date: Fri, 20 Jul 2007 14:16:02 +0000 (+0000) Subject: name change. todo. X-Git-Tag: release-0.4~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=522220494af61945fff28edce76318732b767002;p=thirdparty%2Funbound.git name change. todo. git-svn-id: file:///svn/unbound/trunk@446 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index e0c829298..b89ac23ed 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -7,6 +7,9 @@ and not returned to the client. - if glue times out, refetch by asking parent of delegation again. Much like asking for DS at the parent side. + - TODO items from forgery-resilience draft. + and on memory handling improvements. + - renamed module_event_timeout to module_event_noreply. 19 July 2007: Wouter - shuffle NS selection when getting nameserver target addresses. diff --git a/doc/TODO b/doc/TODO index d8277ba00..fa92761f7 100644 --- a/doc/TODO +++ b/doc/TODO @@ -25,3 +25,8 @@ o fallback without EDNS if result is NOTIMPL, now only on FORMERR like in java. o scrubber has slow pkt_subdomain and pkt_strict_subdomain functions. o get serverselection algorithm out of local optimum. o donotqueryaddresses allow specification of subnets, use trie to store. +o memory profile; and if needed put serviced queries under qstate->region + and special purpose region code, reuse blocks, shrink if too big. +o check query, option to enforce presence of qdsection in noerror answers. +o configuration option where port 53 is used for send and receive, no other + ports are used. diff --git a/iterator/iterator.c b/iterator/iterator.c index 07a95bbae..206126044 100644 --- a/iterator/iterator.c +++ b/iterator/iterator.c @@ -1449,7 +1449,7 @@ process_response(struct module_qstate* qstate, struct iter_qstate* iq, verbose(VERB_ALGO, "process_response: new external response event"); iq->response = NULL; iq->state = QUERY_RESP_STATE; - if(event == module_event_timeout || event == module_event_error) { + if(event == module_event_noreply || event == module_event_error) { goto handle_it; } if(event != module_event_reply || !qstate->reply) { diff --git a/services/mesh.c b/services/mesh.c index ba99b5c79..27c1e5125 100644 --- a/services/mesh.c +++ b/services/mesh.c @@ -183,7 +183,7 @@ void mesh_report_reply(struct mesh_area* mesh, struct outbound_entry* e, { e->qstate->reply = reply; mesh_run(mesh, e->qstate->mesh_info, - is_ok?module_event_reply:module_event_timeout, e); + is_ok?module_event_reply:module_event_noreply, e); } struct mesh_state* diff --git a/util/module.c b/util/module.c index fe1dd2f0b..ecb94b67e 100644 --- a/util/module.c +++ b/util/module.c @@ -61,7 +61,7 @@ strmodulevent(enum module_ev e) case module_event_new: return "module_event_new"; case module_event_pass: return "module_event_pass"; case module_event_reply: return "module_event_reply"; - case module_event_timeout: return "module_event_timeout"; + case module_event_noreply: return "module_event_noreply"; case module_event_error: return "module_event_error"; } return "bad_event_value"; diff --git a/util/module.h b/util/module.h index 3d9dc1a15..5d2481b60 100644 --- a/util/module.h +++ b/util/module.h @@ -240,8 +240,8 @@ enum module_ev { module_event_pass, /** reply inbound from server */ module_event_reply, - /** timeout */ - module_event_timeout, + /** no reply, timeout or other error */ + module_event_noreply, /** error */ module_event_error };