name change. todo.

git-svn-id: file:///svn/unbound/trunk@446 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2007-07-20 14:16:02 +00:00
parent d2fd438713
commit 522220494a
6 changed files with 13 additions and 5 deletions

View file

@ -7,6 +7,9 @@
and not returned to the client. and not returned to the client.
- if glue times out, refetch by asking parent of delegation again. - if glue times out, refetch by asking parent of delegation again.
Much like asking for DS at the parent side. 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 19 July 2007: Wouter
- shuffle NS selection when getting nameserver target addresses. - shuffle NS selection when getting nameserver target addresses.

View file

@ -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 scrubber has slow pkt_subdomain and pkt_strict_subdomain functions.
o get serverselection algorithm out of local optimum. o get serverselection algorithm out of local optimum.
o donotqueryaddresses allow specification of subnets, use trie to store. 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.

View file

@ -1449,7 +1449,7 @@ process_response(struct module_qstate* qstate, struct iter_qstate* iq,
verbose(VERB_ALGO, "process_response: new external response event"); verbose(VERB_ALGO, "process_response: new external response event");
iq->response = NULL; iq->response = NULL;
iq->state = QUERY_RESP_STATE; 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; goto handle_it;
} }
if(event != module_event_reply || !qstate->reply) { if(event != module_event_reply || !qstate->reply) {

View file

@ -183,7 +183,7 @@ void mesh_report_reply(struct mesh_area* mesh, struct outbound_entry* e,
{ {
e->qstate->reply = reply; e->qstate->reply = reply;
mesh_run(mesh, e->qstate->mesh_info, 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* struct mesh_state*

View file

@ -61,7 +61,7 @@ strmodulevent(enum module_ev e)
case module_event_new: return "module_event_new"; case module_event_new: return "module_event_new";
case module_event_pass: return "module_event_pass"; case module_event_pass: return "module_event_pass";
case module_event_reply: return "module_event_reply"; 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"; case module_event_error: return "module_event_error";
} }
return "bad_event_value"; return "bad_event_value";

View file

@ -240,8 +240,8 @@ enum module_ev {
module_event_pass, module_event_pass,
/** reply inbound from server */ /** reply inbound from server */
module_event_reply, module_event_reply,
/** timeout */ /** no reply, timeout or other error */
module_event_timeout, module_event_noreply,
/** error */ /** error */
module_event_error module_event_error
}; };