comparison src/http/ngx_http.c @ 2166:723df5089c05

use hash in gzip_types, ssi_types, and sub_filter_types
author Igor Sysoev <igor@sysoev.ru>
date Tue, 12 Aug 2008 13:11:36 +0000
parents fb3b084e7d42
children a69886fc2864
comparison
equal deleted inserted replaced
2165:cbf6f2eb57ad 2166:723df5089c05
57 57
58 ngx_int_t (*ngx_http_top_header_filter) (ngx_http_request_t *r); 58 ngx_int_t (*ngx_http_top_header_filter) (ngx_http_request_t *r);
59 ngx_int_t (*ngx_http_top_body_filter) (ngx_http_request_t *r, ngx_chain_t *ch); 59 ngx_int_t (*ngx_http_top_body_filter) (ngx_http_request_t *r, ngx_chain_t *ch);
60 60
61 61
62 ngx_str_t ngx_http_html_default_types[] = {
63 ngx_string("text/html"),
64 ngx_null_string
65 };
66
67
62 static ngx_command_t ngx_http_commands[] = { 68 static ngx_command_t ngx_http_commands[] = {
63 69
64 { ngx_string("http"), 70 { ngx_string("http"),
65 NGX_MAIN_CONF|NGX_CONF_BLOCK|NGX_CONF_NOARGS, 71 NGX_MAIN_CONF|NGX_CONF_BLOCK|NGX_CONF_NOARGS,
66 ngx_http_block, 72 ngx_http_block,