aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_map.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-13 15:44:16 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-13 17:31:29 +0100
commit0c5266d324b0e80d1606b9cf49af0ca34799ad5c (patch)
tree506d270092941163713489551ab5a1dd078f7f20 /src/lua/lua_map.c
parentbc6a03a1086e8f7d1c1211633f61ee25b12e16a2 (diff)
downloadrspamd-0c5266d324b0e80d1606b9cf49af0ca34799ad5c.tar.gz
rspamd-0c5266d324b0e80d1606b9cf49af0ca34799ad5c.zip
[Feature] Allow https maps
Diffstat (limited to 'src/lua/lua_map.c')
-rw-r--r--src/lua/lua_map.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lua/lua_map.c b/src/lua/lua_map.c
index a74ee205c..cf2b29f04 100644
--- a/src/lua/lua_map.c
+++ b/src/lua/lua_map.c
@@ -621,6 +621,9 @@ lua_map_get_proto (lua_State *L)
case MAP_PROTO_HTTP:
ret = "http";
break;
+ case MAP_PROTO_HTTPS:
+ ret = "https";
+ break;
}
lua_pushstring (L, ret);
}