}
new_url = rewrite_url(requested_url, redirection_string);
#ifdef FEATURE_HTTPS_INSPECTION
- if (client_use_ssl(csp))
+ if (requested_url != csp->http->url)
{
+ assert(client_use_ssl(csp));
freez(requested_url);
}
#endif
}
else
{
- log_error(LOG_LEVEL_RE_FILTER,
- "filtering client %s request body (size %lu) with \'%s\' produced %d hits (new size %lu).",
+ log_error(LOG_LEVEL_RE_FILTER, "filtering request body from client %s "
+ "(size %lu) with \'%s\' produced %d hits (new size %lu).",
csp->ip_addr_str, prev_size, b->name, current_hits, size);
}
#ifdef FEATURE_EXTENDED_STATISTICS