Skip to content
Snippets Groups Projects

DNS-over-HTTP support (server side)

Merged Petr Špaček requested to merge doh_experiment into master
Viewing commit 7184475c
Show latest version
1 file
+ 4
0
Preferences
Compare changes
+ 4
0
@@ -299,6 +299,10 @@ function M.add_interface(conf)
-- Continue reading key file
if crt then
f = io.open(conf.key, 'r')
if not f then
panic('enable to open HTTP key file %s',
conf.key)
end
key = assert(pkey.new(f:read('*all')))
f:close()
end