Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 25) sorted by relevance

/lighttpd1.4/src/
H A Drequest.c587 if (buffer_is_blank(&r->target)) in http_request_validate_pseudohdrs()
982 buffer * const target = &r->target; in http_request_parse_target() local
985 && target->ptr[0] == '*' in http_request_parse_target()
986 && target->ptr[1] == '\0')) { in http_request_parse_target()
1007 len = buffer_clen(target); in http_request_parse_target()
1021 size_t rlen = buffer_clen(target); in http_request_parse_target()
1025 buffer_truncate(target, rlen); in http_request_parse_target()
1027 qstr = memchr(target->ptr, '?', rlen); in http_request_parse_target()
1031 const char * const pstr = target->ptr; in http_request_parse_target()
1032 const uint32_t rlen = buffer_clen(target); in http_request_parse_target()
[all …]
H A Dreqpool.c119 buffer_clear(&r->target); in request_reset()
128 buffer_reset(&r->target); in request_reset()
196 buffer_reset(&r->target); /*(see comments in request_reset())*/ in request_reset_ex()
214 free(r->target.ptr); in request_free_data()
H A Dmod_rewrite.c300 burl.path = &r->target; /*(uri-encoded and includes query-part)*/ in process_rewrite_rules()
306 rc = pcre_keyvalue_buffer_process(kvb, &ctx, &r->target, tb); in process_rewrite_rules()
308 buffer_copy_buffer(&r->target, tb); in process_rewrite_rules()
320 "while processing uri: %s", r->target.ptr); in process_rewrite_rules()
325 "while processing uri: %s", r->target.ptr); in process_rewrite_rules()
H A Dmod_redirect.c178 burl.path = &r->target; /*(uri-encoded and includes query-part)*/ in URIHANDLER_FUNC()
188 &r->target, tb); in URIHANDLER_FUNC()
200 r->target.ptr); in URIHANDLER_FUNC()
H A Dhttp_cgi.c67 buffer_copy_buffer(&r->target, vb); in http_cgi_local_redir()
155 if (!buffer_is_equal(&r->target, &r->target_orig)) in http_cgi_headers()
157 BUF_PTR_LEN(&r->target)); in http_cgi_headers()
H A Dresponse.c284 && len <= (reqlen = buffer_clen(&r->target)) in http_response_physical_path_check()
285 && buffer_eq_icase_ssn(r->target.ptr + reqlen - len, pathinfo, len)) { in http_response_physical_path_check()
290 buffer_copy_string_len(&r->pathinfo, r->target.ptr + reqlen - len, len); in http_response_physical_path_check()
423 "Request-URI : %s", r->target.ptr); in http_response_prepare()
920 buffer_copy_buffer(&r->target, error_handler); in http_response_call_error_handler()
H A Dkeyvalue.c295 const buffer * const target = burl->path; in pcre_keyvalue_buffer_subst_ext() local
296 const uint32_t len = buffer_clen(target); in pcre_keyvalue_buffer_subst_ext()
297 const char * const ptr = target->ptr; in pcre_keyvalue_buffer_subst_ext()
H A Dmod_magnet.c1878 const uint32_t len = buffer_clen(target); in magnet_env_get_uri_path_raw()
1879 const char * const qmark = memchr(target->ptr, '?', len); in magnet_env_get_uri_path_raw()
1880 buffer_copy_string_len(dest, target->ptr, in magnet_env_get_uri_path_raw()
1881 qmark ? (uint32_t)(qmark - target->ptr) : len); in magnet_env_get_uri_path_raw()
1891 const uint32_t len = buffer_clen(&r->target); in magnet_env_set_uri_path_raw()
1892 const char * const qmark = memchr(r->target.ptr, '?', len); in magnet_env_set_uri_path_raw()
1895 len - (uint32_t)(qmark - r->target.ptr)); in magnet_env_set_uri_path_raw()
1896 buffer_copy_string_len(&r->target, val->ptr, val->len); in magnet_env_set_uri_path_raw()
1898 buffer_append_string_buffer(&r->target, r->tmp_buf); in magnet_env_set_uri_path_raw()
1957 magnet_env_get_uri_path_raw(dest, &r->target); in magnet_env_get_buffer_by_id()
[all …]
H A DSConscript195 def WriteStaticPluginHeader(target, source, env):
200 with open(target[0].abspath, 'r') as f:
205 with open(target[0].abspath, 'w+') as f:
H A Dmod_accesslog.c857 const uint32_t len = buffer_clen(&r->target); in log_access_record_cold()
858 const char * const qmark = memchr(r->target.ptr, '?', len); in log_access_record_cold()
859 esc_fn(b, r->target.ptr, in log_access_record_cold()
860 qmark ? (uint32_t)(qmark - r->target.ptr) : len); in log_access_record_cold()
H A Drequest.h163 buffer target; member
H A Dmod_ajp13.c477 if (!buffer_is_equal(&r->target, &r->target_orig)) { in ajp13_enc_attributes()
479 BUF_PTR_LEN(&r->target)); in ajp13_enc_attributes()
H A Dh2.c1660 const uint32_t len = buffer_clen(&r->target); in h2_recv_headers()
1661 const char * const p = r->target.ptr+len-4; in h2_recv_headers()
2982 r->target = h2r->target; /* copy struct */ in h2_con_upgrade_h2c()
2988 memset(&h2r->target, 0, sizeof(buffer)); in h2_con_upgrade_h2c()
H A Dconnections.c609 buffer_copy_string_len(&h2r->target, CONST_STR_LEN("*")); in connection_transition_h2()
1413 BUFFER_INTLEN_PTR(&r->target), in connection_check_timeout()
1497 BUFFER_INTLEN_PTR(&r->target), in connection_check_timeout()
H A Dmod_proxy.c853 BUF_PTR_LEN(&r->target)); in proxy_create_env()
855 http_header_remap_uri(b, buffer_clen(b) - buffer_clen(&r->target), in proxy_create_env()
H A Dmod_ssi.c812 chunkqueue_append_mem(cq, BUF_PTR_LEN(&r->target)); in process_ssi_stmt()
821 chunkqueue_append_mem(cq, BUF_PTR_LEN(&r->target)); in process_ssi_stmt()
H A Dmod_deflate.c1417 "uri %s in=%lld smaller than out=%lld", r->target.ptr, in deflate_compress_cleanup()
H A Dmod_webdav.c4451 buffer_append_char(&r->target, '/'); in mod_webdav_delete()
4454 BUF_PTR_LEN(&r->target)); in mod_webdav_delete()
/lighttpd1.4/doc/systemd/
H A Dlighttpd.service3 After=network-online.target
14 WantedBy=multi-user.target
H A Dlighttpd.socket16 WantedBy=sockets.target
/lighttpd1.4/src/t/
H A Dtest_request.c20 buffer_clear(&r->target); in test_request_reset()
405 assert(buffer_eq_slen(&r->target, CONST_STR_LEN("/"))); in test_request_http_request_parse()
620 free(r.target.ptr); in test_request()
/lighttpd1.4/tests/
H A DSConscript28 …return env.Command(target = env['ENV']['top_builddir'] + '/tests/' + binary, source = binary, acti…
/lighttpd1.4/
H A DSConstruct99 target = hdr
100 if not isinstance(target, string_types):
101 target = target[-1]
102 self.conf.env.Append(CPPFLAGS = [ '-DHAVE_' + underscorify(target) ])
H A DNEWS1362 * [mod_magnet] modify r->target with "uri.path-raw"
1940 * [multiple] open target file earlier in some cases
2120 * [doc] lighttpd.service uses network-online.target
3937 * added build target for OpenWRT
/lighttpd1.4/doc/outdated/
H A Dperformance.txt113 and using a blank target to indicate no modification