2021-01-06 14:00:05 +00:00
|
|
|
/* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc. See LICENSE. */
|
2018-08-28 13:59:47 +00:00
|
|
|
#ifndef LSQUIC_HTTP1X_IF_H
|
|
|
|
#define LSQUIC_HTTP1X_IF_H 1
|
|
|
|
|
2021-12-15 16:38:20 +00:00
|
|
|
#include "lsquic_shared_support.h"
|
|
|
|
|
2018-08-28 13:59:47 +00:00
|
|
|
struct lsquic_hset_if;
|
2019-09-11 15:27:58 +00:00
|
|
|
struct lsquic_conn;
|
2018-08-28 13:59:47 +00:00
|
|
|
|
|
|
|
struct http1x_ctor_ctx
|
|
|
|
{
|
2019-09-11 15:27:58 +00:00
|
|
|
const struct lsquic_conn *conn; /* Used for logging */
|
2018-08-28 13:59:47 +00:00
|
|
|
unsigned max_headers_sz;
|
|
|
|
int is_server;
|
|
|
|
};
|
|
|
|
|
2021-12-15 16:38:20 +00:00
|
|
|
LSQUIC_EXTERN const struct lsquic_hset_if *const lsquic_http1x_if;
|
2018-08-28 13:59:47 +00:00
|
|
|
|
2019-09-11 15:27:58 +00:00
|
|
|
#define MAX_HTTP1X_HEADERS_SIZE (64 * 1024)
|
|
|
|
|
2018-08-28 13:59:47 +00:00
|
|
|
#endif
|