group = 'headers', | group = 'headers', | ||||
callback = function (task) | callback = function (task) | ||||
local rcvds = task:get_received_headers() | local rcvds = task:get_received_headers() | ||||
if not rcvds then return false end | |||||
if not rcvds or #rcvds == 0 then return false end | |||||
local all_tls = fun.all(function(rc) | local all_tls = fun.all(function(rc) | ||||
return rc.flags and rc.flags['ssl'] | return rc.flags and rc.flags['ssl'] |