Home
last modified time | relevance | path

Searched refs:srvconf (Results 1 – 11 of 11) sorted by relevance

/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dserver.c226 CLEAN(srvconf.groupname); in server_init()
227 CLEAN(srvconf.username); in server_init()
228 CLEAN(srvconf.changeroot); in server_init()
229 CLEAN(srvconf.bindhost); in server_init()
231 CLEAN(srvconf.pid_file); in server_init()
314 CLEAN(srvconf.groupname); in server_free()
315 CLEAN(srvconf.username); in server_free()
317 CLEAN(srvconf.bindhost); in server_free()
319 CLEAN(srvconf.pid_file); in server_free()
1274 srv->srvconf.port = 0; in main()
[all …]
H A Drequest.c354 if (srv->srvconf.log_request_header_on_error) { in http_request_parse()
374 if (srv->srvconf.log_request_header_on_error) { in http_request_parse()
420 if (srv->srvconf.log_request_header_on_error) { in http_request_parse()
448 if (srv->srvconf.log_request_header_on_error) { in http_request_parse()
534 if (srv->srvconf.log_request_header_on_error) { in http_request_parse()
555 if (srv->srvconf.log_request_header_on_error) { in http_request_parse()
684 if (srv->srvconf.log_request_header_on_error) { in http_request_parse()
732 if (srv->srvconf.log_request_header_on_error) { in http_request_parse()
1089 if (srv->srvconf.log_request_header_on_error) { in http_request_parse()
1112 if (srv->srvconf.log_request_header_on_error) { in http_request_parse()
[all …]
H A Dconfigfile.c130 cv[0].destination = srv->srvconf.bindhost; in config_insert()
132 cv[3].destination = srv->srvconf.changeroot; in config_insert()
133 cv[4].destination = srv->srvconf.username; in config_insert()
134 cv[5].destination = srv->srvconf.groupname; in config_insert()
135 cv[6].destination = &(srv->srvconf.port); in config_insert()
137 cv[9].destination = srv->srvconf.modules; in config_insert()
139 cv[11].destination = srv->srvconf.pid_file; in config_insert()
142 cv[23].destination = &(srv->srvconf.max_fds); in config_insert()
1329 if (srv->srvconf.port == 0) { in config_set_defaults()
1330 srv->srvconf.port = s->is_ssl ? 443 : 80; in config_set_defaults()
[all …]
H A Dlog.c156 if (srv->srvconf.errorlog_use_syslog) { in log_error_open()
158 } else if (!buffer_is_empty(srv->srvconf.errorlog_file)) { in log_error_open()
159 const char *logfile = srv->srvconf.errorlog_file->ptr; in log_error_open()
169 if (srv->errorlog_mode == ERRORLOG_FD && !srv->srvconf.dont_daemonize) { in log_error_open()
176 if (!buffer_is_empty(srv->srvconf.breakagelog_file)) { in log_error_open()
178 const char *logfile = srv->srvconf.breakagelog_file->ptr; in log_error_open()
195 } else if (!srv->srvconf.dont_daemonize) { in log_error_open()
214 const char *logfile = srv->srvconf.errorlog_file->ptr; in log_error_cycle()
H A Dconnections.c1410 if (srv->srvconf.log_state_handling) {
1422 if (srv->srvconf.log_state_handling) {
1443 if (srv->srvconf.log_state_handling) {
1474 if (srv->srvconf.log_state_handling) {
1554 if (srv->srvconf.log_state_handling) {
1570 if (srv->srvconf.log_state_handling) {
1634 if (srv->srvconf.log_state_handling) {
1645 if (srv->srvconf.log_state_handling) {
1680 if (srv->srvconf.log_state_handling) {
1688 if (srv->srvconf.log_state_handling) {
[all …]
H A Dplugin.c125 for (i = 0; i < srv->srvconf.modules->used; i++) { in plugins_load()
126 data_string *d = (data_string *)srv->srvconf.modules->data[i]; in plugins_load()
130 if (buffer_is_equal(d->value, ((data_string *) srv->srvconf.modules->data[j])->value)) { in plugins_load()
136 buffer_copy_string_buffer(srv->tmp_buf, srv->srvconf.modules_dir); in plugins_load()
H A Dhttp-header-glue.c196 if (!((con->conf.is_ssl == 0 && srv->srvconf.port == 80) || in http_response_redirect_to_directory()
197 (con->conf.is_ssl == 1 && srv->srvconf.port == 443))) { in http_response_redirect_to_directory()
199 buffer_append_long(o, srv->srvconf.port); in http_response_redirect_to_directory()
H A Dnetwork.c881 buffer_copy_string_buffer(b, srv->srvconf.bindhost);
883 buffer_append_long(b, srv->srvconf.port);
898 if (!buffer_is_empty(srv->srvconf.network_backend)) {
901 …if (buffer_is_equal_string(srv->srvconf.network_backend, network_backends[i].name, strlen(network_…
911 srv->srvconf.network_backend);
H A Dstat_cache.c413 if (srv->srvconf.stat_cache_engine == STAT_CACHE_ENGINE_SIMPLE) { in stat_cache_get_entry()
444 if (srv->srvconf.stat_cache_engine == STAT_CACHE_ENGINE_FAM) { in stat_cache_get_entry()
629 (srv->srvconf.stat_cache_engine == STAT_CACHE_ENGINE_FAM)) { in stat_cache_get_entry()
H A Dbase.h635 server_config srvconf; member
H A Dmod_accesslog.c872 buffer_append_long(b, srv->srvconf.port); in REQUESTDONE_FUNC()