o Fix buffer size and string generation in evdns_resolve_reverse_ipv6().
o Respond to nonstandard DNS queries with "NOTIMPL" rather than by ignoring them.
o In DNS responses, the CD flag should be preserved, not the TC flag.
+ o Fix http.c to compile properly with USE_DEBUG; from Christopher Layne
if (strchr(value, '\r') != NULL || strchr(value, '\n') != NULL ||
strchr(key, '\r') != NULL || strchr(key, '\n') != NULL) {
/* drop illegal headers */
- event_debug(("%s: dropping illegal header\n"));
+ event_debug(("%s: dropping illegal header\n", __func__));
return (-1);
}
evcon->fd = bind_socket(evcon->bind_address, 0);
if (evcon->fd == -1) {
event_debug(("%s: failed to bind to \"%s\"",
- __func__, bind_address));
+ __func__, evcon->bind_address));
return (-1);
}
if (ai == NULL) {
event_debug(("%s: make_addrinfo: \"%s:%d\"",
- __func__, evcon->address, evcon->port));
+ __func__, address, port));
return (-1);
}