comparison src/http/ngx_http_request.c @ 2294:ce574b0ffeec

ngx_http_limit_req_module
author Igor Sysoev <igor@sysoev.ru>
date Mon, 10 Nov 2008 15:22:33 +0000
parents 763c89919807
children 44039da1fae8
comparison
equal deleted inserted replaced
2293:0433bc27e468 2294:ce574b0ffeec
37 37
38 static void ngx_http_request_handler(ngx_event_t *ev); 38 static void ngx_http_request_handler(ngx_event_t *ev);
39 static ngx_int_t ngx_http_set_write_handler(ngx_http_request_t *r); 39 static ngx_int_t ngx_http_set_write_handler(ngx_http_request_t *r);
40 static void ngx_http_writer(ngx_http_request_t *r); 40 static void ngx_http_writer(ngx_http_request_t *r);
41 41
42 static void ngx_http_test_reading(ngx_http_request_t *r);
43 static void ngx_http_set_keepalive(ngx_http_request_t *r); 42 static void ngx_http_set_keepalive(ngx_http_request_t *r);
44 static void ngx_http_keepalive_handler(ngx_event_t *ev); 43 static void ngx_http_keepalive_handler(ngx_event_t *ev);
45 static void ngx_http_set_lingering_close(ngx_http_request_t *r); 44 static void ngx_http_set_lingering_close(ngx_http_request_t *r);
46 static void ngx_http_lingering_close_handler(ngx_event_t *ev); 45 static void ngx_http_lingering_close_handler(ngx_event_t *ev);
47 static ngx_int_t ngx_http_post_action(ngx_http_request_t *r); 46 static ngx_int_t ngx_http_post_action(ngx_http_request_t *r);
2022 } 2021 }
2023 } 2022 }
2024 } 2023 }
2025 2024
2026 2025
2027 static void 2026 void
2028 ngx_http_test_reading(ngx_http_request_t *r) 2027 ngx_http_test_reading(ngx_http_request_t *r)
2029 { 2028 {
2030 int n; 2029 int n;
2031 char buf[1]; 2030 char buf[1];
2032 ngx_err_t err; 2031 ngx_err_t err;