debug_task ("read Milter header, value: %V", hv);
}
break;
+ case 't':
+ case 'T':
+ IF_HEADER (TLS_CIPHER_HEADER) {
+ task->flags |= RSPAMD_TASK_FLAG_SSL;
+ debug_task ("read TLS cipher header, value: %V", hv);
+ }
+ break;
default:
debug_task ("unknown header: %V", hn);
break;
#define RSPAMD_TASK_FLAG_GREYLISTED (1 << 26)
#define RSPAMD_TASK_FLAG_OWN_POOL (1 << 27)
#define RSPAMD_TASK_FLAG_MILTER (1 << 28)
+#define RSPAMD_TASK_FLAG_SSL (1 << 29)
#define RSPAMD_TASK_IS_SKIPPED(task) (((task)->flags & RSPAMD_TASK_FLAG_SKIP))
#define RSPAMD_TASK_IS_JSON(task) (((task)->flags & RSPAMD_TASK_FLAG_JSON))