comparison src/http/ngx_http_request.h @ 435:e7dbea1ee115 NGINX_0_7_25

nginx 0.7.25 *) Change: in subrequest processing. *) Change: now POSTs without "Content-Length" header line are allowed. *) Bugfix: now the "limit_req" and "limit_conn" directives log a prohibition reason. *) Bugfix: in the "delete" parameter of the "geo" directive.
author Igor Sysoev <http://sysoev.ru>
date Mon, 08 Dec 2008 00:00:00 +0300
parents ff86d646f9df
children a8424ffa495c
comparison
equal deleted inserted replaced
434:f64d9e30046c 435:e7dbea1ee115
56 #define NGX_HTTP_PARSE_INVALID_HEADER 13 56 #define NGX_HTTP_PARSE_INVALID_HEADER 13
57 57
58 58
59 #define NGX_HTTP_ZERO_IN_URI 1 59 #define NGX_HTTP_ZERO_IN_URI 1
60 #define NGX_HTTP_SUBREQUEST_IN_MEMORY 2 60 #define NGX_HTTP_SUBREQUEST_IN_MEMORY 2
61 #define NGX_HTTP_SUBREQUEST_WAITED 4
61 62
62 63
63 #define NGX_HTTP_OK 200 64 #define NGX_HTTP_OK 200
64 #define NGX_HTTP_CREATED 201 65 #define NGX_HTTP_CREATED 201
65 #define NGX_HTTP_NO_CONTENT 204 66 #define NGX_HTTP_NO_CONTENT 204
319 ngx_chain_t *out; 320 ngx_chain_t *out;
320 ngx_http_postponed_request_t *next; 321 ngx_http_postponed_request_t *next;
321 }; 322 };
322 323
323 324
325 typedef struct ngx_http_posted_request_s ngx_http_posted_request_t;
326
327 struct ngx_http_posted_request_s {
328 ngx_http_request_t *request;
329 ngx_http_posted_request_t *next;
330 };
331
332
324 typedef ngx_int_t (*ngx_http_handler_pt)(ngx_http_request_t *r); 333 typedef ngx_int_t (*ngx_http_handler_pt)(ngx_http_request_t *r);
325 typedef void (*ngx_http_event_handler_pt)(ngx_http_request_t *r); 334 typedef void (*ngx_http_event_handler_pt)(ngx_http_request_t *r);
326 335
327 336
328 struct ngx_http_request_s { 337 struct ngx_http_request_s {
371 ngx_chain_t *out; 380 ngx_chain_t *out;
372 ngx_http_request_t *main; 381 ngx_http_request_t *main;
373 ngx_http_request_t *parent; 382 ngx_http_request_t *parent;
374 ngx_http_postponed_request_t *postponed; 383 ngx_http_postponed_request_t *postponed;
375 ngx_http_post_subrequest_t *post_subrequest; 384 ngx_http_post_subrequest_t *post_subrequest;
385 ngx_http_posted_request_t *posted_requests;
376 386
377 uint32_t in_addr; 387 uint32_t in_addr;
378 ngx_uint_t port; 388 ngx_uint_t port;
379 ngx_str_t *port_text; /* ":80" */ 389 ngx_str_t *port_text; /* ":80" */
380 ngx_http_virtual_names_t *virtual_names; 390 ngx_http_virtual_names_t *virtual_names;
426 unsigned request_body_in_persistent_file:1; 436 unsigned request_body_in_persistent_file:1;
427 unsigned request_body_in_clean_file:1; 437 unsigned request_body_in_clean_file:1;
428 unsigned request_body_file_group_access:1; 438 unsigned request_body_file_group_access:1;
429 unsigned request_body_file_log_level:3; 439 unsigned request_body_file_log_level:3;
430 440
431 unsigned fast_subrequest:1;
432 unsigned subrequest_in_memory:1; 441 unsigned subrequest_in_memory:1;
442 unsigned waited:1;
433 443
434 unsigned gzip:2; 444 unsigned gzip:2;
435 445
436 unsigned proxy:1; 446 unsigned proxy:1;
437 unsigned bypass_cache:1; 447 unsigned bypass_cache:1;