lock_rw_unlock(&e->lock);
return 1;
}
- verbose(VERB_DETAIL, "answer from the cache -- data has timed out");
+ verbose(VERB_ALGO, "answer from the cache failed");
lock_rw_unlock(&e->lock);
}
if(!LDNS_RD_WIRE(ldns_buffer_begin(c->buffer))) {
&edns)) {
return 1;
}
- verbose(VERB_DETAIL, "answer norec from cache -- "
+ verbose(VERB_ALGO, "answer norec from cache -- "
"need to validate or not primed");
}
ldns_buffer_rewind(c->buffer);
+19 September 2007: Wouter
+ - comments about non-packed usage.
+ - plan for overload support in 0.6.
+
18 September 2007: Wouter
- wildcard nsec3 testcases, and fixup to get correct wildcard name.
- validator prints subtype classification for debug.
logfileparsing tool that makes these excerpts and emails them.
* ANS failure workaround (nxdomain for ENT; check if nxdomain is ENTnodata).
* clear cache as a callback from the new-rrset-id routine.
+* make overload mode work; phase 0 all ok, phase 1 some threads close ports,
+ to let other threads pick up work. phase 2, all threads closed, so all open
+ the ports again and drop all non-cache-reply queries.
+ Keep mutexed num-overloaded-threads counter. thread incs it when it hits
+ max number of user queries serviced in mesh. threads decs it when it
+ falls below 90% of the max. if incs, and not all threads closed, phase 1,
+ else, phase 2 start is broadcast over command pipes. if decs, open ports
+ if phase 1, start servicing, phase is 0 again. Make robust against delays.
+ readme: max about 1 second worth of incoming queries, 10k perhaps,
+ or 1/number of seconds it takes start up of 10k.
*** Local zones feature.
* Build in local zone features. First the total stop for1912.
* o struct
* o rrset_ref array
* o packed_rrset_key* array.
+ *
+ * Memory layout is sometimes not packed, when the message is synthesized,
+ * for easy of the generation. It is allocated packed when it is copied
+ * from the region allocation to the malloc allocation.
*/
struct reply_info {
/** the flags for the answer, host byte order. */