diff options
Diffstat (limited to 'src/h1.h')
-rw-r--r-- | src/h1.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/h1.h b/src/h1.h new file mode 100644 index 00000000..dc5b00cb --- /dev/null +++ b/src/h1.h @@ -0,0 +1,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 |