#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
#include <nginx.h>
static ngx_int_t ngx_http_send_error_page(ngx_http_request_t *r,
ngx_http_err_page_t *err_page);
static ngx_int_t ngx_http_send_special_response(ngx_http_request_t *r,
ngx_http_core_loc_conf_t *clcf, ngx_uint_t err);
static ngx_int_t ngx_http_send_refresh(ngx_http_request_t *r);
static u_char ngx_http_error_full_tail[] = …
;
static u_char ngx_http_error_build_tail[] = …
;
static u_char ngx_http_error_tail[] = …
;
static u_char ngx_http_msie_padding[] = …
;
static u_char ngx_http_msie_refresh_head[] = …;
static u_char ngx_http_msie_refresh_tail[] = …;
static char ngx_http_error_301_page[] = …
;
static char ngx_http_error_302_page[] = …
;
static char ngx_http_error_303_page[] = …
;
static char ngx_http_error_307_page[] = …
;
static char ngx_http_error_308_page[] = …
;
static char ngx_http_error_400_page[] = …
;
static char ngx_http_error_401_page[] = …
;
static char ngx_http_error_402_page[] = …
;
static char ngx_http_error_403_page[] = …
;
static char ngx_http_error_404_page[] = …
;
static char ngx_http_error_405_page[] = …
;
static char ngx_http_error_406_page[] = …
;
static char ngx_http_error_408_page[] = …
;
static char ngx_http_error_409_page[] = …
;
static char ngx_http_error_410_page[] = …
;
static char ngx_http_error_411_page[] = …
;
static char ngx_http_error_412_page[] = …
;
static char ngx_http_error_413_page[] = …
;
static char ngx_http_error_414_page[] = …
;
static char ngx_http_error_415_page[] = …
;
static char ngx_http_error_416_page[] = …
;
static char ngx_http_error_421_page[] = …
;
static char ngx_http_error_429_page[] = …
;
static char ngx_http_error_494_page[] = …
;
static char ngx_http_error_495_page[] = …
;
static char ngx_http_error_496_page[] = …
;
static char ngx_http_error_497_page[] = …
;
static char ngx_http_error_500_page[] = …
;
static char ngx_http_error_501_page[] = …
;
static char ngx_http_error_502_page[] = …
;
static char ngx_http_error_503_page[] = …
;
static char ngx_http_error_504_page[] = …
;
static char ngx_http_error_505_page[] = …
;
static char ngx_http_error_507_page[] = …
;
static ngx_str_t ngx_http_error_pages[] = …;
ngx_int_t
ngx_http_special_response_handler(ngx_http_request_t *r, ngx_int_t error)
{ … }
ngx_int_t
ngx_http_filter_finalize_request(ngx_http_request_t *r, ngx_module_t *m,
ngx_int_t error)
{ … }
void
ngx_http_clean_header(ngx_http_request_t *r)
{ … }
static ngx_int_t
ngx_http_send_error_page(ngx_http_request_t *r, ngx_http_err_page_t *err_page)
{ … }
static ngx_int_t
ngx_http_send_special_response(ngx_http_request_t *r,
ngx_http_core_loc_conf_t *clcf, ngx_uint_t err)
{ … }
static ngx_int_t
ngx_http_send_refresh(ngx_http_request_t *r)
{ … }