summaryrefslogtreecommitdiff
path: root/src/request.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2020-01-08 00:26:12 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2020-07-08 19:54:29 -0400
commit1474be78592e0b6566ae23002ab760c6d493c28e (patch)
tree6d0990db65bc7a238a5027c7e8498f336076c40d /src/request.h
parent6fe031ef37e71a78c456cd9e954f8514ba5babd0 (diff)
downloadlighttpd-git-1474be78592e0b6566ae23002ab760c6d493c28e.tar.gz
[core] move addtl request-specific struct members
Diffstat (limited to 'src/request.h')
-rw-r--r--src/request.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/request.h b/src/request.h
index 3c9280a2..d161b11b 100644
--- a/src/request.h
+++ b/src/request.h
@@ -10,6 +10,7 @@
#include "http_kv.h"
struct log_error_st; /* declaration */
+struct chunkqueue; /* declaration */
typedef struct {
const array *mimetypes;
@@ -93,11 +94,16 @@ struct request_st {
/* CONTENT */
off_t reqbody_length; /* request Content-Length */
off_t te_chunked;
+ struct chunkqueue *reqbody_queue; /*(might use tempfiles)*/
- int keep_alive; /* only request.c can enable it, all other just disable */
time_t start_ts;
struct timespec start_hp;
+ uint32_t rqst_header_len;
+ char keep_alive; /* only request.c can enable it, all other just disable */
+ char loops_per_request; /* catch endless loops in a single request */
+ char async_callback;
+
/* internal */
buffer *pathinfo;
};