- Fix to stop responses with TC flag from resulting in partial
responses. It retries to fetch the data elsewhere, or fails the
query and in depth fix removes the TC flag from the cached item.
+ - Fix proxy length debug output printout typecasts.
5 October 2022: Wouter
- Fix dnscrypt compile for proxy protocol code changes.
}
verbose(VERB_ALGO, "proxy_protocol: reading fixed "
"part of PROXYv2 header (len %lu)",
- want_read_size);
+ (unsigned long)want_read_size);
current_read_size = want_read_size;
if(c->tcp_byte_count < current_read_size) {
ERR_clear_error();
}
verbose(VERB_ALGO, "proxy_protocol: reading variable "
"part of PROXYv2 header (len %lu)",
- want_read_size);
+ (unsigned long)want_read_size);
current_read_size = PP2_HEADER_SIZE + want_read_size;
if(c->tcp_byte_count < current_read_size) {
ERR_clear_error();
}
verbose(VERB_ALGO, "proxy_protocol: reading fixed "
"part of PROXYv2 header (len %lu)",
- want_read_size);
+ (unsigned long)want_read_size);
current_read_size = want_read_size;
if(c->tcp_byte_count < current_read_size) {
r = recv(fd, (void*)sldns_buffer_at(c->buffer,
}
verbose(VERB_ALGO, "proxy_protocol: reading variable "
"part of PROXYv2 header (len %lu)",
- want_read_size);
+ (unsigned long)want_read_size);
current_read_size = PP2_HEADER_SIZE + want_read_size;
if(c->tcp_byte_count < current_read_size) {
r = recv(fd, (void*)sldns_buffer_at(c->buffer,