]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
name change. todo.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 20 Jul 2007 14:16:02 +0000 (14:16 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 20 Jul 2007 14:16:02 +0000 (14:16 +0000)
git-svn-id: file:///svn/unbound/trunk@446 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
doc/TODO
iterator/iterator.c
services/mesh.c
util/module.c
util/module.h

index e0c8292981ff8b54f5cae2e9c995418d8434fb30..b89ac23ed2b402cdcfb7b9dcbf39881e166857cd 100644 (file)
@@ -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.
index d8277ba0057073d6f37b962f551f5bade48c2e15..fa92761f764d239906d5f06bbbd76b0d17511558 100644 (file)
--- 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.
index 07a95bbaef5c01047d6581a5e34cb0acb4af1746..20612604409d8e1107c247e03c0140ffa23d5011 100644 (file)
@@ -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) {
index ba99b5c791a04ff43070570be7d0b73dce88d1d2..27c1e51250bcdf99dee3b66ad390a1672dfde7a7 100644 (file)
@@ -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* 
index fe1dd2f0b5b0fe07bfc50aeef46e72aeebdef043..ecb94b67e14477be4162802f7a1fc5a32a38312c 100644 (file)
@@ -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";
index 3d9dc1a15fb81e3bc5aa04694491a1de99a3a6d8..5d2481b603c1ad8db1799b04808118d755d0fa31 100644 (file)
@@ -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
 };