diff options
author | Oto Šťáva <oto.stava@nic.cz> | 2022-04-06 09:56:35 +0200 |
---|---|---|
committer | Vladimír Čunát <vladimir.cunat@nic.cz> | 2022-05-20 09:45:34 +0200 |
commit | cc8e1f68b98afc749a442b8c180576e0b4f44b0a (patch) | |
tree | 627c268414af7eb0c4dd6301e0f00abdfea3dd7b /tests/config | |
parent | daemon/http: return 400 on failed packet_parse + improved stream handling (diff) | |
download | knot-resolver-cc8e1f68b98afc749a442b8c180576e0b4f44b0a.tar.xz knot-resolver-cc8e1f68b98afc749a442b8c180576e0b4f44b0a.zip |
daemon/http: move status sends outside nghttp2 callbacks
The nghttp2 documentation states that we must not send data from inside
of its callbacks. It may result in crashes.
Diffstat (limited to 'tests/config')
-rw-r--r-- | tests/config/doh2.test.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/config/doh2.test.lua b/tests/config/doh2.test.lua index 352ea428..881515c7 100644 --- a/tests/config/doh2.test.lua +++ b/tests/config/doh2.test.lua @@ -280,7 +280,7 @@ else end -- test an invalid DNS query using GET - local function test_get_long_input() + local function test_get_long_input() local req = assert(req_templ:clone()) req.headers:upsert(':method', 'GET') req.headers:upsert(':path', '/doh?dns=' .. basexx.to_url64(string.rep('\0', 1030))) |