Home
last modified time | relevance | path

Searched refs:end (Results 1 – 24 of 24) sorted by relevance

/lighttpd1.4/src/
H A Dmod_authn_gssapi.c291 goto end; in mod_authn_gssapi_store_gss_creds()
295 goto end; in mod_authn_gssapi_store_gss_creds()
300 goto end; in mod_authn_gssapi_store_gss_creds()
308 end: in mod_authn_gssapi_store_gss_creds()
380 goto end; in mod_authn_gssapi_check_spnego()
387 goto end; in mod_authn_gssapi_check_spnego()
394 goto end; in mod_authn_gssapi_check_spnego()
435 end: in mod_authn_gssapi_check_spnego()
565 end: in mod_authn_gssapi_verify_krb5_init_creds()
606 end: in mod_authn_gssapi_store_krb5_creds()
[all …]
H A Dbuffer.c728 for (const char * const end = s+len; s < end; ++s) { in buffer_append_bs_escaped() local
736 if (s == end) in buffer_append_bs_escaped()
776 for (const char * const end = s+len; s < end; ++s) { in buffer_append_bs_escaped_json() local
784 if (s == end) in buffer_append_bs_escaped_json()
896 char * const end = b->ptr + b->used - 1; in buffer_path_simplify() local
920 } while (walk != end); in buffer_path_simplify()
921 if (__builtin_expect( (walk == end), 1)) { in buffer_path_simplify()
940 while (walk <= end) { in buffer_path_simplify()
944 if (++walk < end) in buffer_path_simplify()
957 if ((walk += 3) >= end) { in buffer_path_simplify()
[all …]
H A Drequest.c1116 char *end = ptr + hoff[i+1]; in http_request_parse_headers() local
1166 end = ptr + hoff[i+1]; in http_request_parse_headers()
1167 if (end[0] != ' ' && end[0] != '\t') break; in http_request_parse_headers()
1171 force_assert(end - k >= 2); in http_request_parse_headers()
1173 if (end[-2] == '\r') in http_request_parse_headers()
1174 end[-2] = ' '; in http_request_parse_headers()
1177 end[-1] = ' '; in http_request_parse_headers()
1181 force_assert(end >= k + 2); in http_request_parse_headers()
1183 if (end[-2] == '\r') in http_request_parse_headers()
1184 --end; in http_request_parse_headers()
[all …]
H A Dbase64.c42 const unsigned char * const end = un + in_length; in li_base64_dec() local
51 for (; un < end; ++un) { in li_base64_dec()
73 switch (un == end || ch == -3 || *un != '\0' ? (i & 3) : 1) { in li_base64_dec()
H A Dhttp-header-glue.c890 char *end = s+hoff[i+1]-1; /*('\n')*/ in http_response_process_headers() local
893 if (NULL == (value = memchr(k, ':', end - k))) { in http_response_process_headers()
904 if (end > value && end[-1] == '\r') --end; in http_response_process_headers()
909 end[0] = '\0'; in http_response_process_headers()
925 http_header_env_append(r, k + 9, klen - 9, value, end - value); in http_response_process_headers()
933 end[0] = '\0'; in http_response_process_headers()
960 if (http_header_str_contains_token(value, end - value, in http_response_process_headers()
966 if (end - value >= 22 /*(prefix match probably good enough)*/ in http_response_process_headers()
979 const char *err = end; in http_response_process_headers()
1027 if (end - value) in http_response_process_headers()
[all …]
H A Dmod_magnet.c1063 for (const char * const end = s+len; s < end; ++s) { in magnet_buffer_append_bsdec() local
2261 end = 1; in magnet_respbody_add()
2266 end = 1; in magnet_respbody_add()
2372 end = 1; in magnet_reqbody_add()
2377 end = 1; in magnet_reqbody_add()
2565 end = 1; in magnet_attach_content()
2571 end = 1; in magnet_attach_content()
2589 end = 1; in magnet_attach_content()
2595 end = 1; in magnet_attach_content()
2601 end = 1; in magnet_attach_content()
[all …]
H A Darray.c584 const char * const end = b->ptr + blen; in array_match_key_suffix() local
589 if (klen <= blen && 0 == memcmp(end - klen, key->ptr, klen)) in array_match_key_suffix()
599 const char * const end = b->ptr + blen; in array_match_key_suffix_nc() local
604 if (klen <= blen && buffer_eq_icase_ssn(end - klen, key->ptr, klen)) in array_match_key_suffix_nc()
614 const char * const end = b->ptr + blen; in array_match_value_suffix() local
619 if (vlen <= blen && 0 == memcmp(end - vlen, value->ptr, vlen)) in array_match_value_suffix()
629 const char * const end = b->ptr + blen; in array_match_value_suffix_nc() local
634 if (vlen <= blen && buffer_eq_icase_ssn(end - vlen, value->ptr, vlen)) in array_match_value_suffix_nc()
H A Dmod_deflate.c948 if (end) { in stream_deflate_flush()
1053 static int stream_bzip2_flush(handler_ctx * const hctx, int end) { in stream_bzip2_flush() argument
1063 if (end) { in stream_bzip2_flush()
1173 static int stream_br_flush(handler_ctx * const hctx, int end) { in stream_br_flush() argument
1264 static int stream_zstd_flush(handler_ctx * const hctx, int end) { in stream_zstd_flush() argument
1278 rv = end in stream_zstd_flush()
1356 return stream_deflate_flush(hctx, end); in mod_deflate_stream_flush()
1360 return stream_bzip2_flush(hctx, end); in mod_deflate_stream_flush()
1364 return stream_br_flush(hctx, end); in mod_deflate_stream_flush()
1368 return stream_zstd_flush(hctx, end); in mod_deflate_stream_flush()
[all …]
H A Dlog.c332 const char * const end = multiline + len; in log_error_multiline() local
333 for (const char *pos = multiline; pos < end; ++pos) { in log_error_multiline()
337 pos = end; in log_error_multiline()
H A Dstat_cache.c953 const char * const end = name + nlen; /*(end of string)*/ in stat_cache_mimetype_by_ext() local
960 if (klen <= nlen && buffer_eq_icase_ssn(end-klen, ds->key.ptr, klen)) in stat_cache_mimetype_by_ext()
968 for (s = end-1; s != name && *s != '/'; --s) ; /*(like memrchr())*/ in stat_cache_mimetype_by_ext()
975 ds = (const data_string *)array_get_element_klen(mimetypes, s, end - s); in stat_cache_mimetype_by_ext()
977 while (++s < end) { in stat_cache_mimetype_by_ext()
978 while (*s != '.' && ++s != end) ; in stat_cache_mimetype_by_ext()
979 if (s == end) break; in stat_cache_mimetype_by_ext()
981 ds = (const data_string *)array_get_element_klen(mimetypes, s, end - s); in stat_cache_mimetype_by_ext()
985 if (++s < end) { in stat_cache_mimetype_by_ext()
987 ds = (const data_string *)array_get_element_klen(mimetypes, s, end - s); in stat_cache_mimetype_by_ext()
H A Dmod_extforward.c1355 const char *end = memchr(hdr->v1.line, '\r', ret - 1); in hap_PROXY_recv() local
1356 if (!end || end[1] != '\n') in hap_PROXY_recv()
1359 sz = (size_t)(end + 2 - hdr->v1.line); /* skip header + CRLF */ in hap_PROXY_recv()
H A Dh2.c2397 const char *end = hdrs + hoff[i+1]; in h2_send_headers_block() local
2398 const char *v = memchr(k, ':', end-k); in h2_send_headers_block()
2408 force_assert(end >= k + 2); in h2_send_headers_block()
2410 if (end[-2] != '\r') /*(header line must end "\r\n")*/ in h2_send_headers_block()
2412 end -= 2; in h2_send_headers_block()
2413 uint32_t vlen = end - v; in h2_send_headers_block()
H A Dlemon.c682 int i, j, k, n, end; in acttab_insert() local
711 end = makeItSafe ? p->mnLookahead : 0; in acttab_insert()
712 for(i=p->nAction-1; i>=end; i--){ in acttab_insert()
742 if( i<end ){ in acttab_insert()
2018 char *sv = 0, *end; in handleswitch() local
2048 dv = strtod(cp,&end); in handleswitch()
2049 if( *end ){ in handleswitch()
2053 errline(i,(int)((char*)end-(char*)g_argv[i]),err); in handleswitch()
2060 lv = strtol(cp,&end,0); in handleswitch()
2061 if( *end ){ in handleswitch()
[all …]
H A Dsys-crypto-md.h805 hashObj->end(*ctx, dest, &retLen, hashObj->length); \
H A Dmod_mbedtls.c880 const unsigned char *end) in mod_mbedtls_x509_crt_ext_cb() argument
896 int rc = mbedtls_asn1_get_tag(&q, end, &len, in mod_mbedtls_x509_crt_ext_cb()
901 if (q + len != end) in mod_mbedtls_x509_crt_ext_cb()
/lighttpd1.4/tests/
H A Dscgi-responder.c39 char * const end = r+rlen; in scgi_getenv() local
45 z = memchr(r, '\0', (size_t)(end-r)); in scgi_getenv()
47 z = memchr(z+1, '\0', (size_t)(end-r)); in scgi_getenv()
50 } while (r < end); in scgi_getenv()
/lighttpd1.4/doc/outdated/
H A Dmagnet.txt158 end
216 end
232 end
243 end
244 end
290 end
302 end
360 end
365 end
H A Dplugins.txt60 called at the end of the logical path handle to get a docroot
64 called at the end of ``http_response_prepare()``
136 called at the end of each request
233 called at the end of the request (logging, statistics, ...)
H A Dfastcgi.txt579 (fcgi.c.745) unexpected end-of-file (perhaps the fastcgi
/lighttpd1.4/
H A DREADME82 - Ranges (start-end, start-, -end, multiple ranges)
H A DNEWS325 * [mod_accesslog] remove begin/end tags from %{}t
1100 * [tests] collect code for "die-at-end" tests
1371 * [core] parse header label before end of line
2305 * remove redundant calls to end-of-request hooks
2335 * [mod_flv_streaming] add end pos param (fixes #1887)
2556 * [core] permit LF to end lines if !header-strict
2912 * [core] fix search for header end if split across chunks (fixes #2670)
3050 * remove whitespace at end of header keys
3389 matching the end of the uri in fcgi,scgi and proxy modules (#1489)
H A Dconfigure.ac1361 dnl "--with-FEATURE" blocks end
/lighttpd1.4/src/t/
H A Dtest_request.c34 for (const char *n=req, *end=req+reqlen; (n=memchr(n,'\n',end-n)); ++n) { in run_http_request_parse() local
/lighttpd1.4/src/ls-hpack/
H A Dlshpack.c651 lshpack_enc_enc_int (unsigned char *dst, unsigned char *const end, in lshpack_enc_enc_int() argument
657 assert(dst < end); in lshpack_enc_enc_int()
666 if (dst < end) in lshpack_enc_enc_int()
674 if (dst < end) in lshpack_enc_enc_int()
1999 goto end; in lshpack_dec_huff_decode()
2047 end: in lshpack_dec_huff_decode()