lsquic_http1x_if.h revision 7d09751d
1/* Copyright (c) 2017 - 2020 LiteSpeed Technologies Inc.  See LICENSE. */
2#ifndef LSQUIC_HTTP1X_IF_H
3#define LSQUIC_HTTP1X_IF_H 1
4
5struct lsquic_hset_if;
6struct lsquic_conn;
7
8struct http1x_ctor_ctx
9{
10    const struct lsquic_conn *conn;                /* Used for logging */
11    unsigned        max_headers_sz;
12    int             is_server;
13};
14
15extern const struct lsquic_hset_if *const lsquic_http1x_if;
16
17#define MAX_HTTP1X_HEADERS_SIZE (64 * 1024)
18
19#endif
20