lsquic_http1x_if.h revision 06b2a236
106b2a236SDmitri Tikhonov/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc. See LICENSE. */ 23b55e6aeSDmitri Tikhonov#ifndef LSQUIC_HTTP1X_IF_H 33b55e6aeSDmitri Tikhonov#define LSQUIC_HTTP1X_IF_H 1 43b55e6aeSDmitri Tikhonov 53b55e6aeSDmitri Tikhonovstruct lsquic_hset_if; 65392f7a3SLiteSpeed Techstruct lsquic_conn; 73b55e6aeSDmitri Tikhonov 83b55e6aeSDmitri Tikhonovstruct http1x_ctor_ctx 93b55e6aeSDmitri Tikhonov{ 105392f7a3SLiteSpeed Tech const struct lsquic_conn *conn; /* Used for logging */ 113b55e6aeSDmitri Tikhonov unsigned max_headers_sz; 123b55e6aeSDmitri Tikhonov int is_server; 133b55e6aeSDmitri Tikhonov}; 143b55e6aeSDmitri Tikhonov 153b55e6aeSDmitri Tikhonovextern const struct lsquic_hset_if *const lsquic_http1x_if; 163b55e6aeSDmitri Tikhonov 175392f7a3SLiteSpeed Tech#define MAX_HTTP1X_HEADERS_SIZE (64 * 1024) 185392f7a3SLiteSpeed Tech 193b55e6aeSDmitri Tikhonov#endif 20