]> git.ipfire.org Git - thirdparty/unbound.git/commit
DoH: reject non-h2 early 980/head
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>
Thu, 14 Dec 2023 00:58:44 +0000 (16:58 -0800)
committerJacob Hoffman-Andrews <github@hoffman-andrews.com>
Thu, 14 Dec 2023 00:58:44 +0000 (16:58 -0800)
commit87644fa46bbef60b984347c7c001a730bc380d58
treee26a303ff0bca7da29858ead26c313d6d28c8719
parent22dc376392b5d9f815089a6e4fd43f8fdf113c98
DoH: reject non-h2 early

Previously, non-h2 connections would be accepted, and then error out
with a verbose message "http2: session_recv from ____ failed,
error: Received bad client magic byte string". Instead, we can detect
absence of h2 support at connection time and reject with a clearer
verbose message.
util/netevent.c