#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
Go to the source code of this file.
Enumerations |
| enum | ngx_http_phases {
NGX_HTTP_POST_READ_PHASE = 0,
NGX_HTTP_SERVER_REWRITE_PHASE,
NGX_HTTP_FIND_CONFIG_PHASE,
NGX_HTTP_REWRITE_PHASE,
NGX_HTTP_POST_REWRITE_PHASE,
NGX_HTTP_PREACCESS_PHASE,
NGX_HTTP_ACCESS_PHASE,
NGX_HTTP_POST_ACCESS_PHASE,
NGX_HTTP_TRY_FILES_PHASE,
NGX_HTTP_CONTENT_PHASE,
NGX_HTTP_LOG_PHASE
} |
Functions |
| void | ngx_http_core_run_phases (ngx_http_request_t *r) |
| ngx_int_t | ngx_http_core_generic_phase (ngx_http_request_t *r, ngx_http_phase_handler_t *ph) |
| ngx_int_t | ngx_http_core_rewrite_phase (ngx_http_request_t *r, ngx_http_phase_handler_t *ph) |
| ngx_int_t | ngx_http_core_find_config_phase (ngx_http_request_t *r, ngx_http_phase_handler_t *ph) |
| ngx_int_t | ngx_http_core_post_rewrite_phase (ngx_http_request_t *r, ngx_http_phase_handler_t *ph) |
| ngx_int_t | ngx_http_core_access_phase (ngx_http_request_t *r, ngx_http_phase_handler_t *ph) |
| ngx_int_t | ngx_http_core_post_access_phase (ngx_http_request_t *r, ngx_http_phase_handler_t *ph) |
| ngx_int_t | ngx_http_core_try_files_phase (ngx_http_request_t *r, ngx_http_phase_handler_t *ph) |
| ngx_int_t | ngx_http_core_content_phase (ngx_http_request_t *r, ngx_http_phase_handler_t *ph) |
| void * | ngx_http_test_content_type (ngx_http_request_t *r, ngx_hash_t *types_hash) |
| ngx_int_t | ngx_http_set_content_type (ngx_http_request_t *r) |
| void | ngx_http_set_exten (ngx_http_request_t *r) |
| ngx_int_t | ngx_http_set_etag (ngx_http_request_t *r) |
| ngx_int_t | ngx_http_send_response (ngx_http_request_t *r, ngx_uint_t status, ngx_str_t *ct, ngx_http_complex_value_t *cv) |
| u_char * | ngx_http_map_uri_to_path (ngx_http_request_t *r, ngx_str_t *name, size_t *root_length, size_t reserved) |
| ngx_int_t | ngx_http_auth_basic_user (ngx_http_request_t *r) |
| ngx_int_t | ngx_http_subrequest (ngx_http_request_t *r, ngx_str_t *uri, ngx_str_t *args, ngx_http_request_t **sr, ngx_http_post_subrequest_t *psr, ngx_uint_t flags) |
| ngx_int_t | ngx_http_internal_redirect (ngx_http_request_t *r, ngx_str_t *uri, ngx_str_t *args) |
| ngx_int_t | ngx_http_named_location (ngx_http_request_t *r, ngx_str_t *name) |
| ngx_http_cleanup_t * | ngx_http_cleanup_add (ngx_http_request_t *r, size_t size) |
| ngx_int_t | ngx_http_output_filter (ngx_http_request_t *r, ngx_chain_t *chain) |
| ngx_int_t | ngx_http_write_filter (ngx_http_request_t *r, ngx_chain_t *chain) |
| ngx_int_t | ngx_http_set_disable_symlinks (ngx_http_request_t *r, ngx_http_core_loc_conf_t *clcf, ngx_str_t *path, ngx_open_file_info_t *of) |
| ngx_int_t | ngx_http_get_forwarded_addr (ngx_http_request_t *r, ngx_addr_t *addr, ngx_array_t *headers, ngx_str_t *value, ngx_array_t *proxies, int recursive) |
Macro Definition Documentation
| #define NGX_HTTP_AIO_OFF 0 |
| #define NGX_HTTP_AIO_ON 1 |
| #define NGX_HTTP_AIO_SENDFILE 2 |
| #define ngx_http_clear_accept_ranges |
( |
|
r | ) |
|
Value:\
r->allow_ranges = 0; \
if (r->headers_out.accept_ranges) { \
r->headers_out.accept_ranges->hash = 0; \
r->headers_out.accept_ranges = NULL; \
}
Definition at line 552 of file ngx_http_core_module.h.
| #define ngx_http_clear_content_length |
( |
|
r | ) |
|
Value:\
r->headers_out.content_length_n = -1; \
if (r->headers_out.content_length) { \
r->headers_out.content_length->hash = 0; \
r->headers_out.content_length = NULL; \
}
Definition at line 544 of file ngx_http_core_module.h.
| #define ngx_http_clear_etag |
( |
|
r | ) |
|
Value:\
if (r->headers_out.etag) { \
r->headers_out.etag->hash = 0; \
r->headers_out.etag = NULL; \
}
Definition at line 575 of file ngx_http_core_module.h.
| #define ngx_http_clear_last_modified |
( |
|
r | ) |
|
Value:\
r->headers_out.last_modified_time = -1; \
if (r->headers_out.last_modified) { \
r->headers_out.last_modified->hash = 0; \
r->headers_out.last_modified = NULL; \
}
Definition at line 560 of file ngx_http_core_module.h.
| #define ngx_http_clear_location |
( |
|
r | ) |
|
Value:\
if (r->headers_out.location) { \
r->headers_out.location->hash = 0; \
r->headers_out.location = NULL; \
}
Definition at line 568 of file ngx_http_core_module.h.
| #define NGX_HTTP_GZIP_PROXIED_ANY 0x0200 |
| #define NGX_HTTP_GZIP_PROXIED_AUTH 0x0100 |
| #define NGX_HTTP_GZIP_PROXIED_EXPIRED 0x0004 |
| #define NGX_HTTP_GZIP_PROXIED_NO_CACHE 0x0008 |
| #define NGX_HTTP_GZIP_PROXIED_NO_ETAG 0x0080 |
| #define NGX_HTTP_GZIP_PROXIED_NO_LM 0x0040 |
| #define NGX_HTTP_GZIP_PROXIED_NO_STORE 0x0010 |
| #define NGX_HTTP_GZIP_PROXIED_OFF 0x0002 |
| #define NGX_HTTP_GZIP_PROXIED_PRIVATE 0x0020 |
| #define NGX_HTTP_IMS_BEFORE 2 |
| #define NGX_HTTP_IMS_EXACT 1 |
| #define NGX_HTTP_IMS_OFF 0 |
| #define NGX_HTTP_KEEPALIVE_DISABLE_MSIE6 0x0004 |
| #define NGX_HTTP_KEEPALIVE_DISABLE_NONE 0x0002 |
| #define NGX_HTTP_KEEPALIVE_DISABLE_SAFARI 0x0008 |
| #define NGX_HTTP_LINGERING_ALWAYS 2 |
| #define NGX_HTTP_LINGERING_OFF 0 |
| #define NGX_HTTP_LINGERING_ON 1 |
| #define NGX_HTTP_SATISFY_ALL 0 |
| #define NGX_HTTP_SATISFY_ANY 1 |
Typedef Documentation
Enumeration Type Documentation
- Enumerator:
| NGX_HTTP_POST_READ_PHASE |
|
| NGX_HTTP_SERVER_REWRITE_PHASE |
|
| NGX_HTTP_FIND_CONFIG_PHASE |
|
| NGX_HTTP_REWRITE_PHASE |
|
| NGX_HTTP_POST_REWRITE_PHASE |
|
| NGX_HTTP_PREACCESS_PHASE |
|
| NGX_HTTP_ACCESS_PHASE |
|
| NGX_HTTP_POST_ACCESS_PHASE |
|
| NGX_HTTP_TRY_FILES_PHASE |
|
| NGX_HTTP_CONTENT_PHASE |
|
| NGX_HTTP_LOG_PHASE |
|
Definition at line 109 of file ngx_http_core_module.h.
Function Documentation
Variable Documentation