]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
fixup! doh2: added control stream to each test
authorLukáš Ježek <lukas.jezek@nic.cz>
Thu, 4 Mar 2021 09:55:15 +0000 (10:55 +0100)
committerLukáš Ježek <lukas.jezek@nic.cz>
Thu, 4 Mar 2021 09:55:15 +0000 (10:55 +0100)
tests/config/doh2.test.lua

index 52c2d5e14e455459e3cd7a7424424c7cd3fa9096..98bcbccff42ef4a4240f2bd2bed49b3cc624ddc1 100644 (file)
@@ -100,7 +100,7 @@ local function connection_init(time)
        local request = {}
 
        headers:append(':method', 'GET')
-       headers:upsert(':authority', http_util.to_authority(host, port, 'wss'))
+       headers:upsert(':authority', http_util.to_authority(host, port, 'https'))
        headers:upsert(':path', '/dns-query')
        headers:upsert(':scheme', 'https')
        headers:upsert('user-agent', 'doh2.test.lua')