lsquic_http1x_if.h revision f07b3eae
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 5f07b3eaeSTyler Young#include "lsquic_shared_support.h" 6f07b3eaeSTyler Young 73b55e6aeSDmitri Tikhonovstruct lsquic_hset_if; 85392f7a3SLiteSpeed Techstruct lsquic_conn; 93b55e6aeSDmitri Tikhonov 103b55e6aeSDmitri Tikhonovstruct http1x_ctor_ctx 113b55e6aeSDmitri Tikhonov{ 125392f7a3SLiteSpeed Tech const struct lsquic_conn *conn; /* Used for logging */ 133b55e6aeSDmitri Tikhonov unsigned max_headers_sz; 143b55e6aeSDmitri Tikhonov int is_server; 153b55e6aeSDmitri Tikhonov}; 163b55e6aeSDmitri Tikhonov 17f07b3eaeSTyler YoungLSQUIC_EXTERN const struct lsquic_hset_if *const lsquic_http1x_if; 183b55e6aeSDmitri Tikhonov 195392f7a3SLiteSpeed Tech#define MAX_HTTP1X_HEADERS_SIZE (64 * 1024) 205392f7a3SLiteSpeed Tech 213b55e6aeSDmitri Tikhonov#endif 22