27 March 2026: Wouter
- Fix to allow the control-interface config to use ip@port notation.
+ - Fix test code to allow empty hex answer packets from testbound.
24 March 2026: Wouter
- Fix to check for invalid http content length and chunk size,
memmove(res+LDNS_HEADER_SIZE+dlen+4,
orig+LDNS_HEADER_SIZE+olen+4,
reslen-(LDNS_HEADER_SIZE+dlen+4));
+ } else if(origlen == 0) {
+ res = NULL;
+ reslen = 0;
} else {
res = memdup(orig, origlen);
reslen = origlen;
}
- if(!res) {
+ if(!res && reslen > 0) {
verbose(1, "out of memory; send without adjust\n");
return;
}