summaryrefslogtreecommitdiff
path: root/src/h1.h
blob: dc5b00cb3ea2d03a7201de71b69fa66d8cdc69cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * h1 - HTTP/1.x protocol layer
 *
 * Copyright(c) 2023 Glenn Strauss gstrauss()gluelogic.com  All rights reserved
 * License: BSD 3-clause (same as lighttpd)
 */
#ifndef LI_H1_H
#define LI_H1_H
#include "first.h"
#include "base_decls.h"

int h1_send_1xx (request_st *r, connection *con);

void h1_send_headers (request_st *r);

int h1_recv_headers (request_st *r, connection *con);

handler_t h1_reqbody_read (request_st *r);

int h1_check_timeout (connection *con, unix_time64_t cur_ts);

#endif