comparison src/http/ngx_http_request.h @ 314:d71c87d11b16

nginx-0.0.3-2004-04-14-09:57:36 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 14 Apr 2004 05:57:36 +0000
parents 98f1a8028067
children 39b6f2df45c0
comparison
equal deleted inserted replaced
313:98f1a8028067 314:d71c87d11b16
221 ngx_str_t uri; 221 ngx_str_t uri;
222 ngx_str_t args; 222 ngx_str_t args;
223 ngx_str_t exten; 223 ngx_str_t exten;
224 ngx_str_t unparsed_uri; 224 ngx_str_t unparsed_uri;
225 225
226 ngx_str_t method_name;
227
226 ngx_http_request_t *main; 228 ngx_http_request_t *main;
227 229
228 uint32_t in_addr; 230 uint32_t in_addr;
229 ngx_uint_t port; 231 ngx_uint_t port;
230 ngx_str_t *port_name; /* ":80" */ 232 ngx_str_t *port_name; /* ":80" */
244 void **err_ctx; 246 void **err_ctx;
245 ngx_uint_t err_status; 247 ngx_uint_t err_status;
246 248
247 unsigned http_state:4; 249 unsigned http_state:4;
248 250
251 #if 0
249 /* URI is not started with '/' - "GET http://" */ 252 /* URI is not started with '/' - "GET http://" */
250 unsigned unusual_uri:1; 253 unsigned unusual_uri:1;
254 #endif
251 /* URI with "/.", "%" and on Win32 with "//" */ 255 /* URI with "/.", "%" and on Win32 with "//" */
252 unsigned complex_uri:1; 256 unsigned complex_uri:1;
253 unsigned header_timeout_set:1; 257 unsigned header_timeout_set:1;
254 258
255 unsigned proxy:1; 259 unsigned proxy:1;
279 u_char *uri_end; 283 u_char *uri_end;
280 u_char *uri_ext; 284 u_char *uri_ext;
281 u_char *args_start; 285 u_char *args_start;
282 u_char *request_start; 286 u_char *request_start;
283 u_char *request_end; 287 u_char *request_end;
288 u_char *method_end;
289 u_char *schema_start;
290 u_char *schema_end;
291 u_char *host_start;
292 u_char *host_end;
293 u_char *port_start;
294 u_char *port_end;
284 u_char *header_name_start; 295 u_char *header_name_start;
285 u_char *header_name_end; 296 u_char *header_name_end;
286 u_char *header_start; 297 u_char *header_start;
287 u_char *header_end; 298 u_char *header_end;
288 }; 299 };