msg_err ("write failed %s to %s", strerror (errno), param->redirector->name);
upstream_fail (¶m->redirector->up, param->task->tv.tv_sec);
remove_normal_event (param->task->s, free_redirector_session, param);
+
param->task->save.saved--;
make_surbl_requests (param->url, param->task, param->suffix, FALSE);
if (param->task->save.saved == 0) {
param->task->message_id, param->redirector->name);
upstream_fail (¶m->redirector->up, param->task->tv.tv_sec);
remove_normal_event (param->task->s, free_redirector_session, param);
+
param->task->save.saved--;
make_surbl_requests (param->url, param->task, param->suffix, FALSE);
if (param->task->save.saved == 0) {
parse_uri (param->url, memory_pool_strdup (param->task->task_pool, c), param->task->task_pool);
}
}
+ upstream_ok (¶m->redirector->up, param->task->tv.tv_sec);
+ remove_normal_event (param->task->s, free_redirector_session, param);
+
param->task->save.saved--;
make_surbl_requests (param->url, param->task, param->suffix, FALSE);
if (param->task->save.saved == 0) {
param->task->save.saved = 1;
process_filters (param->task);
}
- upstream_ok (¶m->redirector->up, param->task->tv.tv_sec);
- remove_normal_event (param->task->s, free_redirector_session, param);
+
}
else {
msg_info ("<%s> reading redirector %s timed out, while waiting for read",
param->redirector->name, param->task->message_id);
upstream_fail (¶m->redirector->up, param->task->tv.tv_sec);
+ remove_normal_event (param->task->s, free_redirector_session, param);
+
param->task->save.saved--;
make_surbl_requests (param->url, param->task, param->suffix, FALSE);
if (param->task->save.saved == 0) {
param->task->save.saved = 1;
process_filters (param->task);
}
- remove_normal_event (param->task->s, free_redirector_session, param);
}
break;
}