diff options
author | Jan Hak <jan.hak@nic.cz> | 2020-03-13 15:02:50 +0100 |
---|---|---|
committer | Tomas Krizek <tomas.krizek@nic.cz> | 2020-10-13 12:55:22 +0200 |
commit | b0c50d484fce3604f746c3f93c54fdb411be9eb9 (patch) | |
tree | 4ef5bccd77d1e40f289f4c079f5250c0ccf29fab /daemon/network.h | |
parent | Merge branch 'packaging-sysusers' into 'master' (diff) | |
download | knot-resolver-b0c50d484fce3604f746c3f93c54fdb411be9eb9.tar.xz knot-resolver-b0c50d484fce3604f746c3f93c54fdb411be9eb9.zip |
doh: C implementation of DoH - WiP
Working server-side GET/POST HTTPS method - Proof-of-Concept
Working server-side GET/POST HTTP/2 method - WiP
Diffstat (limited to 'daemon/network.h')
-rw-r--r-- | daemon/network.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/network.h b/daemon/network.h index c3ee79f2..a960effa 100644 --- a/daemon/network.h +++ b/daemon/network.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2015-2017 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> +/* Copyright (C) 2015-2020 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> * SPDX-License-Identifier: GPL-3.0-or-later */ @@ -20,6 +20,7 @@ struct engine; typedef struct { int sock_type; /**< SOCK_DGRAM or SOCK_STREAM */ bool tls; /**< only used together with .kind == NULL and .tcp */ + bool http; /**< only used together with .kind == NULL and .tcp */ const char *kind; /**< tag for other types than the three usual */ bool freebind; /**< used for binding to non-local address **/ } endpoint_flags_t; |