gchar url_buf[512];
gint r, urllen;
struct timeval *timeout;
- struct rspamd_task *task;
gchar *p, *c, *urlstr;
gboolean found = FALSE;
- task = param->task;
-
switch (param->state) {
case STATE_CONNECT:
/* We have write readiness after connect call, so reinit event */
}
if (found) {
- debug_task ("<%s> got reply from redirector: '%s' -> '%s'",
+ msg_info ("<%s> got reply from redirector: '%s' -> '%s'",
param->task->message_id,
struri (param->url),
c);
param->tree);
}
}
+ else {
+ msg_info ("<%s> could not resolve '%s' on redirector",
+ param->task->message_id,
+ struri (param->url));
+ }
}
rspamd_upstream_ok (param->redirector);
remove_normal_event (param->task->s, free_redirector_session,