| /lighttpd1.4/src/ |
| H A D | SConscript | 42 Import('env') 103 lemon = env.Program('lemon', 'lemon.c', LIBS = GatherLibs(env)) 118 … : { 'src' : [ 'mod_deflate.c' ], 'lib' : [ env['LIBZ'], env['LIBZSTD'], env['LIBBZ2'], env['LIBBR… 128 …'mod_webdav' : { 'src' : [ 'mod_webdav.c' ], 'lib' : [ env['LIBXML2'], env['LIBSQLITE3'], env['LIB… 145 'lib' : [ env['LIBLUA'], env['LIBCRYPTO'] ] 225 LIBS = GatherLibs(env, env['LIBPCRE'], staticlib) 261 fullstatic_libs = GatherLibs(env, env['LIBPCRE'], fullstaticlib) 297 env, 300 env['LIBDL'], 301 env['LIBPCRE'], [all …]
|
| H A D | mod_maxminddb.c | 96 const array *env; member 107 const array *env; member 117 array *env; member 146 const array * const env = pcenv->env; in FREE_FUNC() local 231 pcenv->env = env; in mod_maxminddb_prep_cenv() 252 pconf->env = pcenv->env; in mod_maxminddb_merge_config_cpv() 404 if (env) in geoip2_env_set() 462 const array * const env = (*hctx)->env; in REQUEST_FUNC() local 473 array *env = NULL; in REQUEST_FUNC() local 475 env = (*hctx)->env; in REQUEST_FUNC() [all …]
|
| H A D | mod_cgi.c | 67 env_accum env; member 647 env->offsets = (uintptr_t *)(void *)env->boffsets->ptr; in cgi_env_offset_resize() 648 env->osize = env->boffsets->size/sizeof(*env->offsets); in cgi_env_offset_resize() 656 if (__builtin_expect( (env->osize == env->oused), 0)) in cgi_env_add() 658 env->offsets[env->oused++] = env->b->used-1; in cgi_env_add() 821 env_accum * const env = &p->env; in cgi_create_env() local 829 env->offsets = (uintptr_t *)(void *)env->boffsets->ptr; in cgi_create_env() 830 env->osize = env->boffsets->size/sizeof(*env->offsets); in cgi_create_env() 831 env->oused = 0; in cgi_create_env() 888 if (__builtin_expect( (env->osize == env->oused), 0)) in cgi_create_env() [all …]
|
| H A D | gw_backend.c | 482 ck_realloc_u32((void **)&env->ptr, env->used, 16, sizeof(*env->ptr)); in env_add() 483 env->ptr[env->used++] = dst; in env_add() 599 ck_realloc_u32((void **)&env.ptr,env.used,1,sizeof(*env.ptr)); in gw_spawn_connection() 600 env.ptr[env.used] = NULL; in gw_spawn_connection() 615 for (i = 0; i < env.used; ++i) free(env.ptr[i]); in gw_spawn_connection() 777 ck_realloc_u32((void**)&env->ptr,env->used,4,sizeof(*env->ptr)); in parse_binpath() 781 env->ptr[env->used++] = strdup(start); in parse_binpath() 791 if (!(env->used & (4-1)) || !((env->used+1) & (4-1))) in parse_binpath() 792 ck_realloc_u32((void **)&env->ptr, env->used, 2, sizeof(*env->ptr)); in parse_binpath() 793 env->ptr[env->used++] = strdup(start); in parse_binpath() [all …]
|
| H A D | mod_extforward.c | 117 array *env; member 138 if (NULL != hctx->env) in handler_ctx_free() 139 array_free(hctx->env); in handler_ctx_free() 1052 if (NULL != hctx && hctx->ssl_client_verify && NULL != hctx->env in URIHANDLER_FUNC() 1115 if (NULL == hctx || NULL == hctx->env) return HANDLER_GO_ON; in REQUEST_FUNC() 1116 const array * restrict env = hctx->env; in REQUEST_FUNC() local 1117 for (uint32_t i = 0; i < env->used; ++i) { in REQUEST_FUNC() 1120 const data_string *ds = (const data_string *)env->data[i]; in REQUEST_FUNC() 1609 if (NULL == hctx->env) hctx->env = array_init(8); in mod_extforward_hap_PROXY_v2() 1656 if (NULL == hctx->env) hctx->env = array_init(8); in mod_extforward_hap_PROXY_v2() [all …]
|
| H A D | reqpool.c | 138 if (0 != r->env.used) in request_reset() 139 array_reset_data_strings(&r->env); in request_reset() 212 array_free_data(&r->env); in request_free_data()
|
| H A D | http_header.c | 340 (data_string *)array_get_element_klen(&r->env, k, klen); in http_header_env_get() 345 buffer * const vb = array_get_buf_ptr(&r->env, k, klen); in http_header_env_set_ptr() 351 array_set_key_value(&r->env, k, klen, v, vlen); in http_header_env_set() 356 buffer * const vb = array_get_buf_ptr(&r->env, k, klen); in http_header_env_append()
|
| H A D | mod_scgi.c | 145 buffer *env = venv; in scgi_env_add_scgi() local 152 char *dst = buffer_extend(env, len); in scgi_env_add_scgi()
|
| H A D | mod_fastcgi.c | 137 buffer *env = venv; in fcgi_env_add() local 169 if (len > fmax - buffer_clen(env)) in fcgi_env_add() 172 buffer_append_str3(env, len_enc, len_enc_len, key, key_len, val, val_len); in fcgi_env_add()
|
| H A D | http_cgi.c | 335 for (n = 0; n < r->env.used; n++) { in http_cgi_headers() 336 data_string *ds = (data_string *)r->env.data[n]; in http_cgi_headers()
|
| H A D | request.h | 154 array env; /* used to pass lighttpd internal stuff */ member
|
| H A D | configparser.y | 511 char *env; in value() local 513 if (NULL != (env = getenv(B->ptr + 4))) { in value() 516 buffer_append_string(&ds->value, env); in value()
|
| /lighttpd1.4/ |
| H A D | SConstruct | 27 def __init__(self, env): 28 self.env = env 35 if 'LIBS' in self.env: 69 def env(self): 70 return self.conf.env 154 self.env.Append(**{lib: self.env['LIBS']}) 278 env = Environment( 284 env.Help(vars.GenerateHelpText(env)) 287 env['CC'] = env.subst('${CC}') 304 if env['with_all']: [all …]
|
| H A D | NEWS | 40 * [core] gw_backend more precise backend env alloc 227 * [mod_magnet] clear and reuse script-env table 1223 * [core] inline header and env arrays into con 2709 * consistent, shared code to create CGI env 2727 * [security] do not emit HTTP_PROXY to CGI env 3235 * mod_magnet: Add env["request.path-info"] 3245 * mod_ssi printenv: print cgi env, add environment vars to cgi env (fixes #1713) 3361 * allow digits in [s]cgi env vars (#1712) 3579 * fixed appending and assigning of env.* vars 3745 * fixed bin-copy-env in mod_fastcgi [all …]
|
| /lighttpd1.4/tests/ |
| H A D | fastcgi-responder.conf | 7 include env.SRCDIR + "/tmp/bind*.conf" 45 "port" => env.EPHEMERAL_PORT, 46 "bin-path" => env.SRCDIR + "/fcgi-responder", 54 "port" => env.EPHEMERAL_PORT, 55 "bin-path" => env.SRCDIR + "/fcgi-responder", 70 "port" => env.EPHEMERAL_PORT, 71 "bin-path" => env.SRCDIR + "/fcgi-responder", 78 "port" => env.EPHEMERAL_PORT, 79 "bin-path" => env.SRCDIR + "/fcgi-responder", 85 "port" => env.EPHEMERAL_PORT, [all …]
|
| H A D | SConscript | 1 Import('env') 27 def CopyTestBinary(env, binary): 30 def BuildTestEnv(env, build_type): 37 testenv = env.Clone() 54 check_dynamic = env.Alias('check_dynamic', BuildTestEnv(env, 'dynamic')) 56 check_static = env.Alias('check_static', BuildTestEnv(env, 'static')) 57 check_fullstatic = env.Alias('check_fullstatic', BuildTestEnv(env, 'fullstatic')) 61 if env['build_dynamic']: 64 if env['build_static']: 67 if env['build_fullstatic']: [all …]
|
| H A D | condition.conf | 6 include env.SRCDIR + "/tmp/bind*.conf" 8 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" 9 server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log" 10 server.breakagelog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log" 21 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log" 32 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" 39 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" 47 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" 57 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" 72 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" [all …]
|
| H A D | lighttpd.conf | 11 include env.SRCDIR + "/tmp/bind*.conf" 13 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" 14 server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log" 15 server.breakagelog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log" 41 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log" 88 ".pl" => env.PERL, 89 ".cgi" => env.PERL, 118 simple-vhost.server-root = env.SRCDIR + "/tmp/lighttpd/servers/" 197 auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user" 228 deflate.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/" [all …]
|
| H A D | scgi-responder.conf | 7 include env.SRCDIR + "/tmp/bind*.conf" 9 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" 10 server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log" 11 server.breakagelog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log" 20 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log" 27 "port" => env.EPHEMERAL_PORT, 28 "bin-path" => env.SRCDIR + "/scgi-responder", 40 "port" => env.EPHEMERAL_PORT, 43 "bin-path" => env.SRCDIR + "/scgi-responder",
|
| H A D | meson.build | 24 env = environment() variable 25 env.set('srcdir', meson.current_source_dir()) 26 env.set('top_builddir', meson.build_root()) 36 test('prepare', find_program('./prepare.sh'), env: env, is_parallel: false) 38 test(t, find_program('./' + t), env: env, is_parallel: false) 40 test('cleanup', find_program('./cleanup.sh'), env: env, is_parallel: false)
|
| H A D | proxy.conf | 3 include env.SRCDIR + "/tmp/bind*.conf" 5 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" 6 server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log" 7 server.breakagelog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log" 17 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log" 23 "port" => env.EPHEMERAL_PORT,
|
| H A D | var-include-sub.conf | 13 "^/env$" => "/" + env.env_test,
|
| /lighttpd1.4/doc/outdated/ |
| H A D | magnet.txt | 92 * lighty.env["uri.path"] = "/search.php" 94 * lighty.env["uri.scheme"] = "http" 96 * lighty.env["uri.query"] = "q=lighty" 109 lighty.env["request.uri"] = ... 113 lighty.env["physical.path"] = ... 116 lighty.env["uri.query"] = ... 156 … lighty.header["Location"] = "https://" .. lighty.env["uri.authority"] .. lighty.env["request.uri"] 227 if (lighty.env["uri.query"]) then 265 dir = lighty.env["physical.path"] 325 lighty.env["physical.rel-path"] = lighty.env["uri.path"] [all …]
|
| /lighttpd1.4/doc/scripts/ |
| H A D | spawn-php.sh | 54 env - $E $EX
|
| /lighttpd1.4/src/t/ |
| H A D | test_mod_indexfile.c | 111 array_free_data(&r.env); in test_mod_indexfile()
|