2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Get rid of some HTTP/2 related types when NGHTTP2 is not available

This commit removes definitions of some DoH-related types when
libnghttp2 is not available.
This commit is contained in:
Artem Boldariev
2021-07-16 14:57:08 +03:00
parent f388b71378
commit 170cc41d5c
3 changed files with 19 additions and 10 deletions

View File

@@ -1515,7 +1515,9 @@ isc___nmsocket_init(isc_nmsocket_t *sock, isc_nm_t *mgr, isc_nmsocket_type type,
isc_condition_init(&sock->scond);
isc_refcount_init(&sock->references, 1);
#if HAVE_LIBNGHTTP2
memset(&sock->tlsstream, 0, sizeof(sock->tlsstream));
#endif /* HAVE_LIBNGHTTP2 */
NETMGR_TRACE_LOG("isc__nmsocket_init():%p->references = %" PRIuFAST32
"\n",