diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2023-04-21 17:14:37 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2023-05-03 23:11:35 -0400 |
commit | a7b7010752066f0b24aec947e0870c2cea248a8d (patch) | |
tree | 7b96c93613c604591d7fa3708e4541fc3967232e /src/h1.h | |
parent | 58080f3382cebeadcbbef582e3a1470569e09365 (diff) | |
download | lighttpd-git-a7b7010752066f0b24aec947e0870c2cea248a8d.tar.gz |
[core] h1.[ch] collect some HTTP/1.x specific code
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 |