diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-13 15:44:16 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-13 17:31:29 +0100 |
commit | 0c5266d324b0e80d1606b9cf49af0ca34799ad5c (patch) | |
tree | 506d270092941163713489551ab5a1dd078f7f20 /src/lua/lua_map.c | |
parent | bc6a03a1086e8f7d1c1211633f61ee25b12e16a2 (diff) | |
download | rspamd-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.c | 3 |
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); } |