Lines Matching refs:pconf

91 static void config_merge_config_cpv(request_config * const pconf, const config_plugin_value_t * con…  in config_merge_config_cpv()  argument
94 pconf->document_root = cpv->v.b; in config_merge_config_cpv()
97 pconf->server_name = cpv->v.b; in config_merge_config_cpv()
100 pconf->server_tag = cpv->v.b; in config_merge_config_cpv()
103 pconf->max_request_size = cpv->v.u; in config_merge_config_cpv()
106 pconf->max_keep_alive_requests = cpv->v.shrt; in config_merge_config_cpv()
109 pconf->max_keep_alive_idle = cpv->v.shrt; in config_merge_config_cpv()
112 pconf->max_read_idle = cpv->v.shrt; in config_merge_config_cpv()
115 pconf->max_write_idle = cpv->v.shrt; in config_merge_config_cpv()
118 pconf->errorfile_prefix = cpv->v.b; in config_merge_config_cpv()
121 pconf->error_handler = cpv->v.b; in config_merge_config_cpv()
124 pconf->error_handler_404 = cpv->v.b; in config_merge_config_cpv()
127 pconf->error_intercept = (0 != cpv->v.u); in config_merge_config_cpv()
130 pconf->force_lowercase_filenames = (0 != cpv->v.u); in config_merge_config_cpv()
133 pconf->follow_symlink = (0 != cpv->v.u); in config_merge_config_cpv()
136 pconf->allow_http11 = (0 != cpv->v.u); in config_merge_config_cpv()
139 pconf->range_requests = (0 != cpv->v.u); in config_merge_config_cpv()
142 pconf->stream_request_body = cpv->v.shrt; in config_merge_config_cpv()
145 pconf->stream_response_body = cpv->v.shrt; in config_merge_config_cpv()
148 pconf->global_bytes_per_second = (unsigned int)((off_t *)cpv->v.v)[1]; in config_merge_config_cpv()
149 pconf->global_bytes_per_second_cnt_ptr = cpv->v.v; in config_merge_config_cpv()
152 pconf->bytes_per_second = (unsigned int)cpv->v.shrt << 10;/* (*=1024) */ in config_merge_config_cpv()
155 pconf->mimetypes = cpv->v.a; in config_merge_config_cpv()
158 pconf->use_xattr = (0 != cpv->v.u); in config_merge_config_cpv()
162 ? (pconf->etag_flags |= ETAG_USE_INODE) in config_merge_config_cpv()
163 : (pconf->etag_flags &= ~ETAG_USE_INODE); in config_merge_config_cpv()
167 ? (pconf->etag_flags |= ETAG_USE_MTIME) in config_merge_config_cpv()
168 : (pconf->etag_flags &= ~ETAG_USE_MTIME); in config_merge_config_cpv()
172 ? (pconf->etag_flags |= ETAG_USE_SIZE) in config_merge_config_cpv()
173 : (pconf->etag_flags &= ~ETAG_USE_SIZE); in config_merge_config_cpv()
176 pconf->log_condition_handling = (0 != cpv->v.u); in config_merge_config_cpv()
179 pconf->log_file_not_found = (0 != cpv->v.u); in config_merge_config_cpv()
182 pconf->log_request_handling = (0 != cpv->v.u); in config_merge_config_cpv()
185 pconf->log_request_header = (0 != cpv->v.u); in config_merge_config_cpv()
188 pconf->log_response_header = (0 != cpv->v.u); in config_merge_config_cpv()
191 pconf->log_timeouts = (0 != cpv->v.u); in config_merge_config_cpv()
194 pconf->log_state_handling = (0 != cpv->v.u); in config_merge_config_cpv()
197 if (cpv->vtype == T_CONFIG_LOCAL) pconf->errh = cpv->v.v; in config_merge_config_cpv()
200 if (cpv->vtype == T_CONFIG_LOCAL) pconf->serrh = cpv->v.v; in config_merge_config_cpv()
207 static void config_merge_config(request_config * const pconf, const config_plugin_value_t *cpv) { in config_merge_config() argument
209 config_merge_config_cpv(pconf, cpv); in config_merge_config()