summaryrefslogtreecommitdiffstats
path: root/proxy-protocol.hh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 21:14:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 21:14:51 +0000
commitbc282425088455198a7a99511c75914477d4ed32 (patch)
tree1b1fb887a634136a093deea7e4dd95d054201e7a /proxy-protocol.hh
parentReleasing progress-linux version 1.8.3-3~progress7.99u1. (diff)
downloaddnsdist-bc282425088455198a7a99511c75914477d4ed32.tar.xz
dnsdist-bc282425088455198a7a99511c75914477d4ed32.zip
Merging upstream version 1.9.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'proxy-protocol.hh')
-rw-r--r--proxy-protocol.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/proxy-protocol.hh b/proxy-protocol.hh
index 373a750..a44c721 100644
--- a/proxy-protocol.hh
+++ b/proxy-protocol.hh
@@ -33,6 +33,8 @@ struct ProxyProtocolValue
{
return type == rhs.type && content == rhs.content;
}
+
+ enum class Types : uint8_t { PP_TLV_ALPN = 0x01, PP_TLV_SSL = 0x20 };
};
static const size_t s_proxyProtocolMinimumHeaderSize = 16;