Implement HTTP RTT Monitoring

This commit is contained in:
emanuele-f 2020-03-13 19:03:33 +01:00
parent 7d5a8ba0f8
commit 0be214cfae
10 changed files with 229 additions and 101 deletions

View file

@ -2144,6 +2144,16 @@ end
-- ##############################################
function unescapeHttpHost(host)
if isEmptyString(host) then
return(host)
end
return string.gsub(string.gsub(host, "http:__", "http://"), "https:__", "https://")
end
-- ##############################################
function harvestUnusedDir(path, min_epoch)
local files = ntop.readdir(path)