Home
last modified time | relevance | path

Searched refs:off (Results 1 – 21 of 21) sorted by relevance

/lighttpd1.4/
H A Dmeson_options.txt4 description: 'with brotli-support for mod_deflate [default: off]',
9 description: 'with bzip2-support for mod_deflate [default: off]',
29 description: 'with GnuTLS-support [default: off]',
54 description: 'with lua for mod_magnet [default: off]',
64 description: 'with mbedTLS-support [default: off]',
74 description: 'with Nettle-support [default: off]',
79 description: 'with NSS-crypto-support [default: off]',
84 description: 'with openssl-support [default: off]',
89 description: 'with PAM-support for mod_auth [default: off]',
120 description: 'locks in webdav [default: off]',
[all …]
H A DNEWS3225 * Fix mod_proxy RoundRobin (off by one problem if only one backend is up)
/lighttpd1.4/src/
H A Dmod_proxy.c395 const char * const s = b->ptr+off; in http_header_remap_host_match()
436 buffer_substr_replace(b, off, alen, m); in http_header_remap_host()
446 const char * const s = b->ptr+off; in http_header_remap_urlpath()
488 if (b->ptr[off] != '/') { in http_header_remap_uri()
489 char *s = b->ptr+off; in http_header_remap_uri()
496 slen = s - (b->ptr+off); in http_header_remap_uri()
498 off = (size_t)(s - b->ptr); in http_header_remap_uri()
504 alen = buffer_clen(b) - off; in http_header_remap_uri()
517 --off; in http_header_remap_uri()
522 ++off; in http_header_remap_uri()
[all …]
H A Dfdevent.c630 off_t off = 0; in fdevent_load_file() local
632 rd = read(fd, buf+off, (size_t)(sz-off)); in fdevent_load_file()
633 } while (rd > 0 ? (off += rd) != sz : rd < 0 && errno == EINTR); in fdevent_load_file()
634 if (off != sz) { /*(file truncated?)*/ in fdevent_load_file()
660 fdevent_load_file_bytes (char * const buf, const off_t sz, off_t off, const char * const fn, log_er… in fdevent_load_file_bytes() argument
667 if (0 != off && (off_t)-1 == lseek(fd, off, SEEK_SET)) break; in fdevent_load_file_bytes()
668 off = 0; in fdevent_load_file_bytes()
672 rd = read(fd, buf+off, (size_t)(sz-off)); in fdevent_load_file_bytes()
673 } while (rd > 0 ? (off += rd) != sz : rd < 0 && errno == EINTR); in fdevent_load_file_bytes()
674 if (off != sz) { /*(file truncated? or incorrect sz requested)*/ in fdevent_load_file_bytes()
H A Dmod_magnet_cache.c67 off_t off = 0; in script_cache_load_script() local
69 rd = read(sce->fd, buf+off, (size_t)(sz-off)); in script_cache_load_script()
70 } while (rd > 0 ? (off += rd) != sz : rd < 0 && errno == EINTR); in script_cache_load_script()
71 if (off != sz) { /*(file truncated?)*/ in script_cache_load_script()
H A DCMakeLists.txt22 option(WITH_GNUTLS "with GnuTLS-support [default: off]")
23 option(WITH_MBEDTLS "with mbedTLS-support [default: off]")
24 option(WITH_NSS "with NSS-crypto-support [default: off]")
25 option(WITH_OPENSSL "with openssl-support [default: off]")
26 option(WITH_WOLFSSL "with wolfSSL-support [default: off]")
27 option(WITH_NETTLE "with Nettle-support [default: off]")
29 option(WITH_PCRE "with regex support [default: off]")
31 option(WITH_WEBDAV_LOCKS "locks in webdav [default: off]")
38 option(WITH_PAM "with PAM-support for mod_auth [default: off]")
39 option(WITH_LUA "with lua for mod_magnet [default: off]")
[all …]
H A Dburl.c474 static void burl_offset_tolower (buffer * const b, const size_t off) in burl_offset_tolower() argument
477 for (char *p = b->ptr+off; p[0]; ++p) { in burl_offset_tolower()
485 static void burl_offset_toupper (buffer * const b, const size_t off) in burl_offset_toupper() argument
488 for (char *p = b->ptr+off; p[0]; ++p) { in burl_offset_toupper()
498 size_t off = 0; in burl_append() local
507 if (flags & (BURL_TOUPPER|BURL_TOLOWER)) off = buffer_clen(b); in burl_append()
533 ? burl_offset_tolower(b, off) /*(flags & BURL_TOLOWER)*/ in burl_append()
534 : burl_offset_toupper(b, off); /*(flags & BURL_TOUPPER)*/ in burl_append()
H A Dkeyvalue.c192 const size_t off = (size_t)ovec[(num <<= 1)]; /*(num *= 2)*/ in pcre_keyvalue_buffer_append_match() local
193 const size_t len = (size_t)ovec[num+1] - off; in pcre_keyvalue_buffer_append_match()
194 burl_append(b, ctx->subject + off, len, flags); in pcre_keyvalue_buffer_append_match()
207 const size_t off = (size_t)ovec[(num <<= 1)]; /*(num *= 2)*/ in pcre_keyvalue_buffer_append_ctxmatch() local
208 const size_t len = (size_t)ovec[num+1] - off; in pcre_keyvalue_buffer_append_ctxmatch()
209 burl_append(b, cache->comp_value->ptr + off, len, flags); in pcre_keyvalue_buffer_append_ctxmatch()
H A Dmod_expire.c260 mod_expire_set_header (request_st * const r, const time_t * const off) in mod_expire_set_header() argument
263 unix_time64_t expires = off[1]; in mod_expire_set_header()
264 if (0 == off[0]) { /* access */ in mod_expire_set_header()
H A Dmod_magnet.c2235 if (off > sce->st.st_size) in magnet_respbody_add()
2236 off = sce->st.st_size; in magnet_respbody_add()
2237 else if (off < 0) { in magnet_respbody_add()
2238 off = sce->st.st_size - off; in magnet_respbody_add()
2239 if (off < 0) off = 0; in magnet_respbody_add()
2242 len = sce->st.st_size - off; in magnet_respbody_add()
2550 off = 0; in magnet_attach_content()
2562 if (off < 0) { in magnet_attach_content()
2566 } else if (len >= off) { in magnet_attach_content()
2567 len -= off; in magnet_attach_content()
[all …]
H A Dconfigparser.y211 int off = 0; in configparser_simplify_regex() local
215 off = 2; in configparser_simplify_regex()
217 off = 1; in configparser_simplify_regex()
223 off = 1; in configparser_simplify_regex()
230 if (strcspn(b->ptr+off, regex_chars) != len - off) in configparser_simplify_regex()
232 if (off) { /*(remove only first char if (off == 2) to keep '.' in "\.")*/ in configparser_simplify_regex()
H A Dfdevent.h119 int fdevent_load_file_bytes (char *buf, off_t sz, off_t off, const char *fn, log_error_st *errh);
H A Dmod_gnutls.c1122 unsigned int off = (d == pc->ssl_pemfile_x509) ? 0 : 1; in mod_gnutls_construct_crt_chain() local
1124 gnutls_malloc(sizeof(gnutls_pcert_st) * (off+ncrt)); in mod_gnutls_construct_crt_chain()
1129 memset(pcert_list, 0, sizeof(gnutls_pcert_st) * (off+ncrt)); in mod_gnutls_construct_crt_chain()
1132 if (off) { /*(add crt to chain if different from d)*/ in mod_gnutls_construct_crt_chain()
1143 rc = gnutls_pcert_import_x509_list(pcert_list+off, crts, &ncrt, 0); in mod_gnutls_construct_crt_chain()
1147 rc = gnutls_pcert_import_x509(pcert_list+off+i, crts[i], 0); in mod_gnutls_construct_crt_chain()
1152 ncrt += off; in mod_gnutls_construct_crt_chain()
H A Dconfigfile-glue.c575 uint_fast32_t off = (dc->cond == CONFIG_COND_PREFIX) in config_check_cond_nocache_eval() local
579 && 0 == memcmp(l->ptr+off, dc->string.ptr, dlen)); in config_check_cond_nocache_eval()
H A Dmod_dirlisting.c1554 static int mkdir_recursive (char *dir, size_t off) { in mkdir_recursive() argument
1555 char *p = dir+off; in mkdir_recursive()
1557 if (off && p[-1] == '/') in mkdir_recursive()
H A Dconfigfile.c1116 off_t off = t - b->ptr; in config_insert() local
1119 t = b->ptr+off; in config_insert()
1120 memmove(t+2, t+1, len - off - 1); in config_insert()
H A Dchunk.c1068 loff_t off = c->file.length; in chunkqueue_append_splice_pipe_tempfile() local
1069 ssize_t wr = splice(fd, NULL, c->file.fd, &off, len, in chunkqueue_append_splice_pipe_tempfile()
H A Dmod_webdav.c2293 ssize_t rd, wr, off; in webdav_fcopyfile_sz() local
2302 off = 0; in webdav_fcopyfile_sz()
2304 wr = write(ofd, buf+off, (size_t)(rd-off)); in webdav_fcopyfile_sz()
2305 } while (wr >= 0 ? (off += wr) != rd : errno == EINTR); in webdav_fcopyfile_sz()
/lighttpd1.4/src/ls-hpack/
H A Dlshpack.c188 (a)->els[(a)->off + (i)] \
194 (a)->els[(a)->off++] \
200 (a)->els[(a)->off + (a)->nelem] \
211 if (arr->off + arr->nelem < arr->nalloc) in lshpack_arr_push()
213 arr->els[arr->off + arr->nelem] = val; in lshpack_arr_push()
218 if (arr->off > arr->nalloc / 2) in lshpack_arr_push()
220 memmove(arr->els, arr->els + arr->off, in lshpack_arr_push()
222 arr->off = 0; in lshpack_arr_push()
235 memcpy(new_els, arr->els + arr->off, sizeof(arr->els[0]) * arr->nelem); in lshpack_arr_push()
237 arr->off = 0; in lshpack_arr_push()
[all …]
H A Dlshpack.h275 off; member
/lighttpd1.4/doc/outdated/
H A Dfastcgi.txt453 take off some load from the webserver you have to control