aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_quic_module.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/modules/ngx_http_quic_module.h')
-rw-r--r--src/http/modules/ngx_http_quic_module.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_quic_module.h b/src/http/modules/ngx_http_quic_module.h
new file mode 100644
index 000000000..bc75dd501
--- /dev/null
+++ b/src/http/modules/ngx_http_quic_module.h
@@ -0,0 +1,24 @@
+
+/*
+ * Copyright (C) Nginx, Inc.
+ * Copyright (C) Roman Arutyunyan
+ */
+
+
+#ifndef _NGX_HTTP_QUIC_H_INCLUDED_
+#define _NGX_HTTP_QUIC_H_INCLUDED_
+
+
+#include <ngx_config.h>
+#include <ngx_core.h>
+#include <ngx_http.h>
+
+
+#define NGX_HTTP_QUIC_ALPN_ADVERTISE "\x02hq"
+#define NGX_HTTP_QUIC_ALPN_DRAFT_FMT "\x05hq-%02uD"
+
+
+ngx_int_t ngx_http_quic_init(ngx_connection_t *c);
+
+
+#endif /* _NGX_HTTP_QUIC_H_INCLUDED_ */