|
Apache HTTPD
|
#include "httpd.h"#include "http_config.h"#include "http_log.h"#include "util_filter.h"#include "mod_ratelimit.h"Go to the source code of this file.
Classes | |
| struct | rl_ctx_t |
Macros | |
| #define | RATE_LIMIT_FILTER_NAME "RATE_LIMIT" |
| #define | RATE_INTERVAL_MS (200) |
Typedefs | |
| typedef enum rl_state_e | rl_state_e |
| typedef struct rl_ctx_t | rl_ctx_t |
Enumerations | |
| enum | rl_state_e { RATE_LIMIT , RATE_FULLSPEED } |
Functions | |
| static apr_status_t | rate_limit_filter (ap_filter_t *f, apr_bucket_brigade *bb) |
| static apr_status_t | rl_bucket_read (apr_bucket *b, const char **str, apr_size_t *len, apr_read_type_e block) |
| apr_bucket * | ap_rl_end_create (apr_bucket_alloc_t *list) |
| apr_bucket * | ap_rl_start_create (apr_bucket_alloc_t *list) |
| static void | register_hooks (apr_pool_t *p) |
Variables | |
| const apr_bucket_type_t | ap_rl_bucket_type_end |
| const apr_bucket_type_t | ap_rl_bucket_type_start |
| static int *const | aplog_module_index = &( ratelimit_module.module_index) |
| #define RATE_INTERVAL_MS (200) |
Definition at line 25 of file mod_ratelimit.c.
| #define RATE_LIMIT_FILTER_NAME "RATE_LIMIT" |
Definition at line 24 of file mod_ratelimit.c.
| Enumerator | |
|---|---|
| RATE_LIMIT | |
| RATE_FULLSPEED | |
Definition at line 27 of file mod_ratelimit.c.
| apr_bucket * ap_rl_end_create | ( | apr_bucket_alloc_t * | list | ) |
Definition at line 270 of file mod_ratelimit.c.
| apr_bucket * ap_rl_start_create | ( | apr_bucket_alloc_t * | list | ) |
Definition at line 286 of file mod_ratelimit.c.
|
static |
Definition at line 60 of file mod_ratelimit.c.
|
static |
Definition at line 325 of file mod_ratelimit.c.
|
static |
Definition at line 261 of file mod_ratelimit.c.
| const apr_bucket_type_t ap_rl_bucket_type_end |
Definition at line 303 of file mod_ratelimit.c.
| const apr_bucket_type_t ap_rl_bucket_type_start |
Definition at line 313 of file mod_ratelimit.c.
Definition at line 332 of file mod_ratelimit.c.