comparison src/http/ngx_http.h @ 3064:23e6f26fb4bd

*) ngx_http_ephemeral *) use preallocated terminal_posted_request
author Igor Sysoev <igor@sysoev.ru>
date Sun, 30 Aug 2009 09:47:11 +0000
parents 26e06e009ced
children 798a7f1d3b2f
comparison
equal deleted inserted replaced
3063:6f6d7ea70805 3064:23e6f26fb4bd
82 82
83 ngx_int_t ngx_http_find_server_conf(ngx_http_request_t *r); 83 ngx_int_t ngx_http_find_server_conf(ngx_http_request_t *r);
84 void ngx_http_update_location_config(ngx_http_request_t *r); 84 void ngx_http_update_location_config(ngx_http_request_t *r);
85 void ngx_http_handler(ngx_http_request_t *r); 85 void ngx_http_handler(ngx_http_request_t *r);
86 void ngx_http_run_posted_requests(ngx_connection_t *c); 86 void ngx_http_run_posted_requests(ngx_connection_t *c);
87 ngx_int_t ngx_http_post_request(ngx_http_request_t *r); 87 ngx_int_t ngx_http_post_request(ngx_http_request_t *r,
88 ngx_http_posted_request_t *pr);
88 void ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc); 89 void ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc);
89 90
90 void ngx_http_empty_handler(ngx_event_t *wev); 91 void ngx_http_empty_handler(ngx_event_t *wev);
91 void ngx_http_request_empty_handler(ngx_http_request_t *r); 92 void ngx_http_request_empty_handler(ngx_http_request_t *r);
93
94
95 #define ngx_http_ephemeral(r) (ngx_http_ephemeral_t *) (&r->uri_start)
92 96
93 97
94 #define NGX_HTTP_LAST 1 98 #define NGX_HTTP_LAST 1
95 #define NGX_HTTP_FLUSH 2 99 #define NGX_HTTP_FLUSH 2
96 100