| /mOS-networking-stack/samples/lighttpd-1.4.32/doc/config/conf.d/ |
| H A D | Makefile.am | 2 auth.conf \ 3 cgi.conf \ 4 cml.conf \ 5 compress.conf \ 6 debug.conf \ 8 evhost.conf \ 9 expire.conf \ 11 geoip.conf \ 13 mime.conf \ 18 scgi.conf \ [all …]
|
| H A D | Makefile.in | 282 auth.conf \ 283 cgi.conf \ 284 cml.conf \ 286 debug.conf \ 288 evhost.conf \ 291 geoip.conf \ 293 mime.conf \ 296 proxy.conf \ 298 scgi.conf \ 301 ssi.conf \ [all …]
|
| /mOS-networking-stack/core/src/ |
| H A D | config.c | 286 conf->ent[conf->num] = ent; in FeedNetdevConfLine() 320 conf->ent[conf->num] = ent; in FeedArpConfLine() 353 conf->ent[conf->num] = ent; in FeedRouteConfLine() 380 conf->ent[conf->num] = ent; in FeedNICFwdConfLine() 556 conf->arp->print(conf->arp); in MosConfPrint() 585 blk->conf = conf; in InitAppBlock() 617 blk->conf = conf; in InitMosBlock() 641 blk->conf = conf; in InitNetdevBlock() 800 blk->conf = conf; in InitArpBlock() 827 blk->conf = conf; in InitRouteBlock() [all …]
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/tests/ |
| H A D | Makefile.am | 19 CONFS=fastcgi-10.conf \ 20 fastcgi-auth.conf \ 22 fastcgi-13.conf \ 23 bug-06.conf \ 24 bug-12.conf \ 26 var-include.conf \ 28 condition.conf \ 35 proxy.conf \ 41 mod-compress.conf \ 52 lowercase.conf \ [all …]
|
| H A D | SConscript | 7 extra_dist = Split('fastcgi-10.conf \ 8 fastcgi-auth.conf \ 9 fastcgi-responder.conf \ 10 fastcgi-13.conf \ 11 bug-06.conf \ 12 bug-12.conf \ 14 var-include.conf \ 15 var-include-sub.conf \ 16 condition.conf \ 26 mod-compress.conf \
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/src/ |
| H A D | mod_trigger_b4_dl.c | 65 plugin_config conf; member 249 p->conf.x = s->x; 334 if (!p->conf.db && !p->conf.mc) return HANDLER_GO_ON; in URIHANDLER_FUNC() 335 if (p->conf.db && p->conf.mc) { in URIHANDLER_FUNC() 356 if (p->conf.debug) { in URIHANDLER_FUNC() 370 if (p->conf.db) { in URIHANDLER_FUNC() 387 if (p->conf.mc) { in URIHANDLER_FUNC() 396 if (p->conf.debug) { in URIHANDLER_FUNC() 421 if (p->conf.db) { in URIHANDLER_FUNC() 451 if (p->conf.db) { in URIHANDLER_FUNC() [all …]
|
| H A D | mod_simple_vhost.c | 31 plugin_config conf; member 129 if (p->conf.server_root->used) { in build_doc_root() 130 buffer_copy_string_buffer(out, p->conf.server_root); in build_doc_root() 148 if (p->conf.document_root->used > 2 && p->conf.document_root->ptr[0] == '/') { in build_doc_root() 149 buffer_append_string_len(out, p->conf.document_root->ptr + 1, p->conf.document_root->used - 2); in build_doc_root() 151 buffer_append_string_buffer(out, p->conf.document_root); in build_doc_root() 155 buffer_copy_string_buffer(out, con->conf.document_root); in build_doc_root() 160 if (p->conf.debug) { in build_doc_root() 174 p->conf.x = s->x; 231 if (p->conf.docroot_cache_key->used && in mod_simple_vhost_docroot() [all …]
|
| H A D | mod_accesslog.c | 148 plugin_config conf; member 630 p->conf.x = s->x; 691 if (!p->conf.use_syslog && p->conf.log_access_fd == -1) return HANDLER_GO_ON; in REQUESTDONE_FUNC() 693 b = p->conf.access_logbuffer; in REQUESTDONE_FUNC() 718 …strftime(p->conf.ts_accesslog_str->ptr, p->conf.ts_accesslog_str->size - 1, p->conf.ts_accesslog_f… in REQUESTDONE_FUNC() 720 …strftime(p->conf.ts_accesslog_str->ptr, p->conf.ts_accesslog_str->size - 1, p->conf.ts_accesslog_f… in REQUESTDONE_FUNC() 722 p->conf.ts_accesslog_str->used = strlen(p->conf.ts_accesslog_str->ptr) + 1; in REQUESTDONE_FUNC() 742 …strftime(p->conf.ts_accesslog_str->ptr, p->conf.ts_accesslog_str->size - 1, p->conf.ts_accesslog_f… in REQUESTDONE_FUNC() 744 …strftime(p->conf.ts_accesslog_str->ptr, p->conf.ts_accesslog_str->size - 1, p->conf.ts_accesslog_f… in REQUESTDONE_FUNC() 746 p->conf.ts_accesslog_str->used = strlen(p->conf.ts_accesslog_str->ptr) + 1; in REQUESTDONE_FUNC() [all …]
|
| H A D | response.c | 50 0 == con->conf.max_keep_alive_idle) { in http_response_write_header() 129 if (con->conf.log_response_header) { in http_response_write_header() 269 if (con->conf.is_ssl) { in http_response_prepare() 301 if (con->conf.log_request_handling) { in http_response_prepare() 350 if (con->conf.log_request_handling) { in http_response_prepare() 356 if (con->conf.is_ssl && con->conf.ssl_verifyclient) { in http_response_prepare() 373 if (!con->conf.allow_http11) { in http_response_prepare() 471 if (con->conf.log_request_handling) { in http_response_prepare() 522 if (con->conf.log_request_handling) { in http_response_prepare() 542 if (con->conf.log_request_handling) { in http_response_prepare() [all …]
|
| H A D | mod_userdir.c | 35 plugin_config conf; member 126 p->conf.x = s->x; 182 if (p->conf.path->used == 0) return HANDLER_GO_ON; in URIHANDLER_FUNC() 203 if (buffer_is_empty(p->conf.basepath) in URIHANDLER_FUNC() 213 for (k = 0; k < p->conf.exclude_user->used; k++) { in URIHANDLER_FUNC() 222 if (p->conf.include_user->used) { in URIHANDLER_FUNC() 224 for (k = 0; k < p->conf.include_user->used; k++) { in URIHANDLER_FUNC() 239 if (buffer_is_empty(p->conf.basepath)) { in URIHANDLER_FUNC() 262 if (con->conf.force_lowercase_filenames) { in URIHANDLER_FUNC() 268 if (p->conf.letterhomes) { in URIHANDLER_FUNC() [all …]
|
| H A D | http_auth.c | 153 if (p->conf.auth_backend == AUTH_BACKEND_HTDIGEST) { in http_auth_get_password() 231 p->conf.auth_backend == AUTH_BACKEND_PLAIN) { in http_auth_get_password() 236 …auth_fn = (p->conf.auth_backend == AUTH_BACKEND_HTPASSWD) ? p->conf.auth_htpasswd_userfile : p->co… in http_auth_get_password() 319 for (i = 0; i < p->conf.auth_require->used; i++) { in http_auth_match_rules() 322 …if (0 == strncmp(url, p->conf.auth_require->data[i]->key->ptr, p->conf.auth_require->data[i]->key-… in http_auth_match_rules() 327 if (i == p->conf.auth_require->used) { in http_auth_match_rules() 809 if (p->conf.auth_ldap_starttls == 1) { in http_auth_basic_password_compare() 975 p->conf.auth_backend != AUTH_BACKEND_PLAIN) { in http_auth_digest_check() 1014 if (p->conf.auth_debug > 1) { in http_auth_digest_check() 1143 if (p->conf.auth_debug) { in http_auth_digest_check() [all …]
|
| H A D | mod_redirect.c | 26 plugin_config conf; member 143 p->conf.redirect = s->redirect; in mod_redirect_patch_connection() 144 p->conf.redirect_code = s->redirect_code; in mod_redirect_patch_connection() 145 p->conf.context = NULL; in mod_redirect_patch_connection() 160 p->conf.redirect = s->redirect; in mod_redirect_patch_connection() 161 p->conf.context = dc; in mod_redirect_patch_connection() 163 p->conf.redirect_code = s->redirect_code; in mod_redirect_patch_connection() 187 for (i = 0; i < p->conf.redirect->used; i++) { in mod_redirect_uri_handler() 193 pcre_keyvalue *kv = p->conf.redirect->kv[i]; in mod_redirect_uri_handler() 237 } else if (p->conf.context == NULL) { in mod_redirect_uri_handler() [all …]
|
| H A D | mod_secure_download.c | 42 plugin_config conf; member 152 p->conf.x = s->x; 205 if (buffer_is_empty(p->conf.uri_prefix)) return HANDLER_GO_ON; in URIHANDLER_FUNC() 207 if (buffer_is_empty(p->conf.secret)) { in URIHANDLER_FUNC() 213 if (buffer_is_empty(p->conf.doc_root)) { in URIHANDLER_FUNC() 223 …if (0 != strncmp(con->uri.path->ptr, p->conf.uri_prefix->ptr, p->conf.uri_prefix->used - 1)) retur… in URIHANDLER_FUNC() 225 md5_str = con->uri.path->ptr + p->conf.uri_prefix->used - 1; in URIHANDLER_FUNC() 240 if ( (srv->cur_ts > ts && (unsigned int) (srv->cur_ts - ts) > p->conf.timeout) || in URIHANDLER_FUNC() 241 (srv->cur_ts < ts && (unsigned int) (ts - srv->cur_ts) > p->conf.timeout) ) { in URIHANDLER_FUNC() 255 buffer_copy_string_buffer(p->md5, p->conf.secret); in URIHANDLER_FUNC() [all …]
|
| H A D | mod_dirlisting.c | 78 plugin_config conf; member 332 p->conf.x = s->x; 484 if (p->conf.auto_layout) { in http_list_directory_header() 538 if (p->conf.show_header) { in http_list_directory_header() 547 if (p->conf.encode_header) { in http_list_directory_header() 591 if (p->conf.show_readme) { in http_list_directory_footer() 600 if (p->conf.encode_readme) { in http_list_directory_footer() 611 if(p->conf.auto_layout) { in http_list_directory_footer() 708 if (p->conf.hide_readme_file) { in http_list_directory() 712 if (p->conf.hide_header_file) { in http_list_directory() [all …]
|
| H A D | mod_rewrite.c | 45 plugin_config conf; member 284 p->conf.x = s->x; 291 p->conf.context = NULL; in mod_rewrite_patch_connection() 292 p->conf.context_NF = NULL; in mod_rewrite_patch_connection() 310 p->conf.context = dc; in mod_rewrite_patch_connection() 313 p->conf.context = dc; in mod_rewrite_patch_connection() 316 p->conf.context = dc; in mod_rewrite_patch_connection() 319 p->conf.context_NF = dc; in mod_rewrite_patch_connection() 322 p->conf.context_NF = dc; in mod_rewrite_patch_connection() 325 p->conf.context = dc; in mod_rewrite_patch_connection() [all …]
|
| H A D | mod_cml.c | 139 p->conf.x = s->x; 221 if (buffer_is_empty(p->conf.power_magnet)) return HANDLER_GO_ON; in URIHANDLER_FUNC() 240 switch(cache_call_lua(srv, con, p, p->conf.power_magnet)) { in URIHANDLER_FUNC() 243 if (con->conf.log_request_handling) { in URIHANDLER_FUNC() 249 if (con->conf.log_request_handling) { in URIHANDLER_FUNC() 275 if (buffer_is_empty(p->conf.ext)) return HANDLER_GO_ON; in URIHANDLER_FUNC() 277 if (!buffer_is_equal_right_len(con->physical.path, p->conf.ext, p->conf.ext->used - 1)) { in URIHANDLER_FUNC() 284 if (con->conf.log_request_handling) { in URIHANDLER_FUNC() 290 if (con->conf.log_request_handling) { in URIHANDLER_FUNC() 297 if (con->conf.log_request_handling) { in URIHANDLER_FUNC()
|
| H A D | mod_rrdtool.c | 43 plugin_config conf; member 139 args[i++] = p->conf.path_rrdtool_bin->ptr; in mod_rrd_create_pipe() 297 p->conf.x = s->x; 305 p->conf.bytes_written_ptr = &(s->bytes_written); in mod_rrd_patch_connection() 306 p->conf.bytes_read_ptr = &(s->bytes_read); in mod_rrd_patch_connection() 307 p->conf.requests_ptr = &(s->requests); in mod_rrd_patch_connection() 326 p->conf.bytes_read_ptr = &(s->bytes_read); in mod_rrd_patch_connection() 327 p->conf.requests_ptr = &(s->requests); in mod_rrd_patch_connection() 385 if (buffer_is_empty(p->conf.path_rrdtool_bin)) { in SETDEFAULTS_FUNC() 474 *(p->conf.requests_ptr) += 1; in REQUESTDONE_FUNC() [all …]
|
| H A D | mod_extforward.c | 92 plugin_config conf; member 190 p->conf.x = s->x; 292 array *forwarder = p->conf.forwarder; in last_not_in_array() 362 if (con->conf.log_request_handling) { in URIHANDLER_FUNC() 367 if (p->conf.headers->used) { in URIHANDLER_FUNC() 371 for(k = 0; k < p->conf.headers->used; k++) { in URIHANDLER_FUNC() 372 ds = (data_string *) p->conf.headers->data[k]; in URIHANDLER_FUNC() 381 if (con->conf.log_request_handling) { in URIHANDLER_FUNC() 400 if (con->conf.log_request_handling) { in URIHANDLER_FUNC() 424 if (con->conf.log_request_handling) { in URIHANDLER_FUNC() [all …]
|
| H A D | mod_access.c | 20 plugin_config conf; member 85 p->conf.x = s->x; 134 if (con->conf.log_request_handling) { in URIHANDLER_FUNC() 139 for (k = 0; k < p->conf.access_deny->used; k++) { in URIHANDLER_FUNC() 140 data_string *ds = (data_string *)p->conf.access_deny->data[k]; in URIHANDLER_FUNC() 150 if (con->conf.force_lowercase_filenames) { in URIHANDLER_FUNC() 164 if (con->conf.log_request_handling) { in URIHANDLER_FUNC()
|
| H A D | mod_usertrack.c | 26 plugin_config conf; member 136 p->conf.x = s->x; 192 if (NULL != (g = strstr(ds->value->ptr, p->conf.cookie_name->ptr))) { in URIHANDLER_FUNC() 196 for (nc = g + p->conf.cookie_name->used-1; *nc == ' ' || *nc == '\t'; nc++); in URIHANDLER_FUNC() 214 buffer_copy_string_buffer(ds->value, p->conf.cookie_name); in URIHANDLER_FUNC() 238 if (!buffer_is_empty(p->conf.cookie_domain)) { in URIHANDLER_FUNC() 240 buffer_append_string_encoded(ds->value, CONST_BUF_LEN(p->conf.cookie_domain), ENCODING_REL_URI); in URIHANDLER_FUNC() 243 if (p->conf.cookie_max_age) { in URIHANDLER_FUNC() 245 buffer_append_long(ds->value, p->conf.cookie_max_age); in URIHANDLER_FUNC()
|
| H A D | mod_staticfile.c | 39 plugin_config conf; member 119 p->conf.x = s->x; 386 if (con->conf.log_request_handling) { in URIHANDLER_FUNC() 393 for (k = 0; k < p->conf.exclude_ext->used; k++) { in URIHANDLER_FUNC() 394 ds = (data_string *)p->conf.exclude_ext->data[k]; in URIHANDLER_FUNC() 399 if (con->conf.log_request_handling) { in URIHANDLER_FUNC() 407 if (con->conf.log_request_handling) { in URIHANDLER_FUNC() 423 if ((sce->is_symlink == 1) && !con->conf.follow_symlink) { in URIHANDLER_FUNC() 426 if (con->conf.log_request_handling) { in URIHANDLER_FUNC() 438 if (con->conf.log_file_not_found) { in URIHANDLER_FUNC() [all …]
|
| H A D | mod_mysql_vhost.c | 59 plugin_config conf; member 299 p->conf.x = s->x; 353 if (!p->conf.mysql) return HANDLER_GO_ON; 363 buffer_copy_string_buffer(p->tmp_buf, p->conf.mysql_pre); 364 if (p->conf.mysql_post->used) { 366 buffer_append_string_buffer(p->tmp_buf, p->conf.mysql_post); 368 if (mysql_query(p->conf.mysql, p->tmp_buf->ptr)) { 372 result = mysql_store_result(p->conf.mysql); 379 while (mysql_next_result(p->conf.mysql) == 0); 415 while (mysql_next_result(p->conf.mysql) == 0); [all …]
|
| /mOS-networking-stack/scripts/ |
| H A D | configure | 4294 rm -f conf$$ conf$$.exe conf$$.file 4318 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5451 rm -f conf$$ conf$$.exe conf$$.file 5475 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6609 rm -f conf$$ conf$$.exe conf$$.file 6633 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7768 rm -f conf$$ conf$$.exe conf$$.file 7792 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8928 rm -f conf$$ conf$$.exe conf$$.file 8952 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file [all …]
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/ |
| H A D | INSTALL | 35 take a look at the configfile in ./doc/lighttpd.conf, 73 Please remember to adjust lighttpd.conf file carefully. 83 Also, remember to locate the 'mos.conf' at the directory where the binary lies. 84 -- This should be $<path_to_lighttpd>/src/mos.conf 90 - Default: lighttpd.conf 91 - For mOS: m-lighttpd.conf 95 (e.g., $ sudo ./lighttpd -D -f ../docs/config/m-lighttpd.conf -n 8) 107 Please remember to adjust lighttpd.conf file carefully. 115 A sample lighttpd.conf file is placed@: doc/config/lighttpd.conf 138 Please remember to adjust lighttpd.conf file carefully.
|
| /mOS-networking-stack/ |
| H A D | setup.sh | 67 CONF_FILE=$2/mos.conf 68 CONF_MASTER_FILE=$2/mos-master.conf 69 CONF_SLAVE_FILE=$2/mos-slave.conf 115 cat .standalone-template.conf > $CONF_FILE 140 cat .end-template.conf > $CONF_FILE 142 cat .standalone-template.conf > $CONF_FILE 173 cat .end-template.conf > $CONF_FILE 174 cat .end-template.conf > $CONF_MASTER_FILE 175 cat .end-template.conf > $CONF_SLAVE_FILE 765 find | grep mos.conf | xargs rm -f [all …]
|