Lines Matching defs:request_st
122 struct request_st { struct
123 request_state_t state; /*(modules should not modify request state)*/ argument
124 int http_status;
125 uint32_t h2state; /*(modules should not modify request h2state)*/
126 uint32_t h2id;
127 int32_t h2_rwin;
128 int32_t h2_swin;
129 int16_t h2_rwin_fudge;
130 uint8_t h2_prio;
132 http_method_t http_method;
133 http_version_t http_version;
135 const plugin *handler_module;
136 void **plugin_ctx; /* plugin connection specific config */
137 connection *con;
140 uint32_t conditional_is_valid;
141 struct cond_cache_t *cond_cache;
142 struct cond_match_t **cond_match;
143 struct cond_match_t *cond_match_data;
145 request_config conf;
148 uint32_t rqst_header_len;
149 uint64_t rqst_htags;/* bitfield of flagged headers present in request */
150 array rqst_headers;
152 request_uri uri;
153 physical physical;
154 array env; /* used to pass lighttpd internal stuff */
156 off_t reqbody_length; /* request Content-Length */
157 off_t te_chunked;
158 off_t resp_body_scratchpad;
160 buffer *http_host; /* copy of array value buffer ptr; not alloc'ed */
161 const buffer *server_name;
163 buffer target;
164 buffer target_orig;
166 buffer pathinfo;
167 buffer server_name_buf;
169 void *dst_addr;
170 buffer *dst_addr_buf;
173 uint32_t resp_header_len;
174 uint64_t resp_htags; /*bitfield of flagged headers present in response*/
175 array resp_headers;
176 char resp_body_finished;
177 char resp_body_started;
178 char resp_send_chunked;
179 char resp_decode_chunked;
180 char resp_header_repeated;
182 char loops_per_request; /* catch endless loops in a single request */
183 int8_t keep_alive; /* only request.c can enable it, all other just disable */
184 char async_callback;
186 buffer *tmp_buf; /* shared; same as srv->tmp_buf */
187 response_dechunk *gw_dechunk;
189 off_t bytes_written_ckpt; /* used by mod_accesslog */
190 off_t bytes_read_ckpt; /* used by mod_accesslog */
191 unix_timespec64_t start_hp;
193 int error_handler_saved_status; /* error-handler */
194 http_method_t error_handler_saved_method; /* error-handler */
196 struct chunkqueue write_queue; /* HTTP response queue [ file, mem ] */
197 struct chunkqueue read_queue; /* HTTP request queue [ mem ] */
221 int http_request_validate_pseudohdrs (request_st * restrict r, int scheme, unsigned int http_parseo… argument