Home
last modified time | relevance | path

Searched refs:code (Results 1 – 23 of 23) sorted by relevance

/lighttpd1.4/src/
H A Ddata_config.c47 if (ds->code) pcre2_code_free(ds->code); in data_config_free()
86 dc->code = pcre2_compile((PCRE2_SPTR)BUF_PTR_LEN(&dc->string), in data_config_pcre_compile()
88 if (NULL == dc->code) { in data_config_pcre_compile()
97 errcode = pcre2_jit_compile(dc->code, PCRE2_JIT_COMPLETE); in data_config_pcre_compile()
108 errcode = pcre2_pattern_info(dc->code, PCRE2_INFO_CAPTURECOUNT, &captures); in data_config_pcre_compile()
123 dc->match_data = pcre2_match_data_create_from_pattern(dc->code, NULL); in data_config_pcre_compile()
H A Dlighttpd-angel.c86 int code = 0; in main() local
88 code = WEXITSTATUS(exitcode); in main()
92 code = WTERMSIG(exitcode); in main()
98 fprintf(stderr, msg, __FILE__, __LINE__, pid, code); in main()
H A Dmod_ajp13.c381 uint8_t code = 0x00; in ajp13_enc_request_headers() local
383 case HTTP_HEADER_ACCEPT: code = 0x01; break; in ajp13_enc_request_headers()
384 case HTTP_HEADER_ACCEPT_ENCODING: code = 0x03; break; in ajp13_enc_request_headers()
385 case HTTP_HEADER_ACCEPT_LANGUAGE: code = 0x04; break; in ajp13_enc_request_headers()
386 case HTTP_HEADER_AUTHORIZATION: code = 0x05; break; in ajp13_enc_request_headers()
387 case HTTP_HEADER_CONNECTION: code = 0x06; break; in ajp13_enc_request_headers()
397 code = 0x02; in ajp13_enc_request_headers()
399 code = 0x0A; in ajp13_enc_request_headers()
405 n = (code) in ajp13_enc_request_headers()
406 ? ajp13_enc_uint16(x, n, 0xA000 | code) in ajp13_enc_request_headers()
[all …]
H A Dkeyvalue.c35 pcre2_code *code; member
69 kv->code = pcre2_compile((PCRE2_SPTR)BUF_PTR_LEN(key), in pcre_keyvalue_buffer_append()
71 if (NULL == kv->code) { in pcre_keyvalue_buffer_append()
80 errcode = pcre2_jit_compile(kv->code, PCRE2_JIT_COMPLETE); in pcre_keyvalue_buffer_append()
90 errcode = pcre2_pattern_info(kv->code, PCRE2_INFO_CAPTURECOUNT, &captures); in pcre_keyvalue_buffer_append()
111 kv->match_data = pcre2_match_data_create_from_pattern(kv->code, NULL); in pcre_keyvalue_buffer_append()
162 if (kv->code) pcre2_code_free(kv->code); in pcre_keyvalue_buffer_free()
402 int n = pcre2_match(kv->code, (PCRE2_SPTR)BUF_PTR_LEN(input), in pcre_keyvalue_buffer_process()
H A Dstat_cache.c401 int code = 0; in stat_cache_handle_fdevent_in() local
403 code = FAMChanged; in stat_cache_handle_fdevent_in()
405 code = FAMDeleted; in stat_cache_handle_fdevent_in()
407 code = FAMMoved; in stat_cache_handle_fdevent_in()
440 int code = 0; in stat_cache_handle_fdevent_in()
444 code = FAMDeleted; in stat_cache_handle_fdevent_in()
446 code = FAMMoved; in stat_cache_handle_fdevent_in()
448 code = FAMDeleted; in stat_cache_handle_fdevent_in()
484 switch (code) { in stat_cache_handle_fdevent_fn()
519 code = FAMDeleted; in stat_cache_handle_fdevent_fn()
[all …]
H A Dmod_authn_gssapi.c198 …char *file, unsigned int line, const char *func, const char *extra, krb5_context context, int code) in mod_authn_gssapi_log_krb5_error() argument
203 "%s (%s): %s", func, extra ? extra : "", error_message(code)); in mod_authn_gssapi_log_krb5_error()
633 krb5_error_code code; in mod_authn_gssapi_basic() local
646 code = krb5_init_context(&kcontext); in mod_authn_gssapi_basic()
647 if (code) { in mod_authn_gssapi_basic()
648 log_error(r->conf.errh, __FILE__, __LINE__, "krb5_init_context(): %d", code); in mod_authn_gssapi_basic()
657 code = krb5_kt_resolve(kcontext, p->conf.auth_gssapi_keytab->ptr, &keytab); in mod_authn_gssapi_basic()
658 if (code) { in mod_authn_gssapi_basic()
659 …log_error(r->conf.errh, __FILE__, __LINE__, "krb5_kt_resolve(): %d %s", code, p->conf.auth_gssapi_… in mod_authn_gssapi_basic()
H A Dconfigfile.h43 void *code; member
H A Dconfigfile-glue.c671 return pcre2_match(dc->code, (PCRE2_SPTR)BUF_PTR_LEN(b), in config_pcre_match()
689 : pcre2_match_data_create_from_pattern(dc->code, NULL); in config_pcre_match()
692 pcre2_match_data_create_from_pattern(dc->code, NULL); in config_pcre_match()
699 pcre2_match(dc->code, (PCRE2_SPTR)BUF_PTR_LEN(b), 0, 0, match_data, NULL); in config_pcre_match()
H A Dresponse.c197 http_response_physical_path_error (request_st * const r, const int code, const char * const msg) in http_response_physical_path_error() argument
199 r->http_status = code; in http_response_physical_path_error()
200 if ((code == 404 && r->conf.log_file_not_found) in http_response_physical_path_error()
H A Dlemon.c1721 rp->iRule = rp->code ? i++ : -1; in main()
2287 }else if( psp->prevrule->code!=0 ){ in parseonetoken()
2296 psp->prevrule->code = &x[1]; in parseonetoken()
2404 rp->code = 0; in parseonetoken()
3861 if( rp->code==0 ){ in translate_code()
3863 rp->code = newlinestr; in translate_code()
3904 zSkip = strstr(rp->code, zOvwrt); in translate_code()
3923 for(cp=(char *)rp->code; *cp; cp++){ in translate_code()
4058 if( rp->code ){ in emit_code()
4063 fprintf(out,"{%s",rp->code); in emit_code()
[all …]
H A Dmod_webdav.c285 #define http_status_set_fin(r, code) ((r)->resp_body_finished = 1,\ argument
287 (r)->http_status = (code))
288 #define http_status_set(r, code) ((r)->http_status = (code)) argument
H A Dconfigfile.c1363 if (0==pcre2_pattern_info(dc->code, in config_finalize()
/lighttpd1.4/
H A DNEWS199 * [mod_deflate] collect mmap code
806 * [mod_auth] merge some repeated code; code reuse
1960 * [core] chunkqueue perf: code reuse
2033 * [core] chunk.c code reuse
2172 * [mod_magnet] code reuse
2400 * [core] collect ioctl FIONREAD code
2979 * remove logical dead code
3829 * fixed segfault in debug-code
4064 * more code cleanup
4072 * code cleanup
[all …]
H A DCOPYING9 - Redistributions of source code must retain the above copyright notice, this
/lighttpd1.4/src/ls-hpack/
H A Dhuff-tables.h3 uint32_t code; member
H A Dlshpack.c725 bits |= henc->code; in lshpack_enc_huff_encode()
735 bits |= henc->code >> bits_used; in lshpack_enc_huff_encode()
746 bits = henc->code; /* OK not to clear high bits */ in lshpack_enc_huff_encode()
762 bits |= cur_enc_code.code; in lshpack_enc_huff_encode()
774 bits |= cur_enc_code.code >> bits_used; in lshpack_enc_huff_encode()
785 bits = cur_enc_code.code; /* OK not to clear high bits */ in lshpack_enc_huff_encode()
/lighttpd1.4/doc/outdated/
H A Daccess.txt41 for include files with code.
H A Dmagnet.txt61 order. If one of them a returning a status-code, the following scripts will not be executed.
160 You every number above and equal to 100 is taken as final status code and finishes the request. No …
163 A special return-code is lighty.RESTART_REQUEST (currently equal to 99) which is usually used in co…
252 To simplify the code and to improve the performance we define:
H A Daccesslog.txt64 %s status code
H A Dextforward.txt39 I've commented the code in some places, mostly where I wasn't sure
H A Dfeatures.txt28 > Now that the author has made the source code available, I am
H A Dfastcgi.txt264 This behaviour is very light-weight in code and still very efficient
/lighttpd1.4/scripts/m4/
H A Dax_prog_cc_for_build.m413 # useful if you have to generate source code at compile-time like for