| /lighttpd1.4/src/t/ |
| H A D | test_burl.c | 11 qs = burl_normalize(psrc, ptmp, flags); in run_burl_normalize() 31 int flags; in test_burl_normalize() local 33 flags = HTTP_PARSEOPT_URL_NORMALIZE_UNRESERVED; in test_burl_normalize() 37 flags = HTTP_PARSEOPT_URL_NORMALIZE_UNRESERVED in test_burl_normalize() 66 flags = HTTP_PARSEOPT_URL_NORMALIZE_REQUIRED in test_burl_normalize() 95 flags |= HTTP_PARSEOPT_URL_NORMALIZE_CTRLS_REJECT; in test_burl_normalize() 106 flags |= HTTP_PARSEOPT_URL_NORMALIZE_PATH_2F_DECODE; in test_burl_normalize() 119 flags |= HTTP_PARSEOPT_URL_NORMALIZE_PATH_2F_REJECT; in test_burl_normalize() 146 flags |= HTTP_PARSEOPT_URL_NORMALIZE_QUERY_20_PLUS; in test_burl_normalize() 149 flags &= ~HTTP_PARSEOPT_URL_NORMALIZE_QUERY_20_PLUS; in test_burl_normalize() [all …]
|
| /lighttpd1.4/src/ |
| H A D | burl.c | 337 int burl_normalize (buffer *b, buffer *t, int flags) in burl_normalize() argument 373 qs = burl_normalize_path(b, t, qs, flags); in burl_normalize() 502 if (0 == flags) { in burl_append() 509 if (flags & BURL_ENCODE_NONE) { in burl_append() 512 else if (flags & BURL_ENCODE_ALL) { in burl_append() 515 else if (flags & BURL_ENCODE_NDE) { in burl_append() 518 else if (flags & BURL_ENCODE_PSNDE) { in burl_append() 521 else if (flags & BURL_ENCODE_B64U) { in burl_append() 525 else if (flags & BURL_DECODE_B64U) { in burl_append() 531 if (flags & (BURL_TOLOWER|BURL_TOUPPER)) { in burl_append() [all …]
|
| H A D | keyvalue.c | 217 int flags = 0; in pcre_keyvalue_buffer_subst_ext() local 224 flags |= BURL_ENCODE_ALL; in pcre_keyvalue_buffer_subst_ext() 228 flags |= BURL_ENCODE_ALL; in pcre_keyvalue_buffer_subst_ext() 232 flags |= BURL_ENCODE_NDE; in pcre_keyvalue_buffer_subst_ext() 248 flags |= BURL_ENCODE_NONE; in pcre_keyvalue_buffer_subst_ext() 252 flags |= BURL_ENCODE_NONE; in pcre_keyvalue_buffer_subst_ext() 264 flags |= BURL_TOLOWER; in pcre_keyvalue_buffer_subst_ext() 268 flags |= BURL_TOLOWER; in pcre_keyvalue_buffer_subst_ext() 330 flags |= BURL_ENCODE_B64U; in pcre_keyvalue_buffer_subst_ext() 335 flags |= BURL_DECODE_B64U; in pcre_keyvalue_buffer_subst_ext() [all …]
|
| H A D | fdevent.c | 48 int flags = fcntl(fd, F_GETFL, 0); in fdevent_socket_nb_cloexec_init() local 50 use_sock_nonblock = (-1 != flags && (flags & O_NONBLOCK)); in fdevent_socket_nb_cloexec_init() 175 if (!symlinks) flags |= O_NOFOLLOW; in fdevent_open_cloexec() 179 int fd = open(pathname, flags | FDEVENT_O_FLAGS, mode); in fdevent_open_cloexec() 205 int flags = O_RDONLY; in fdevent_open_dirname() local 207 flags |= O_DIRECTORY; in fdevent_open_dirname() 210 dfd = fdevent_open_cloexec(dname, symlinks, flags, 0); in fdevent_open_dirname() 247 int fdevent_mkostemp(char *path, int flags) { in fdevent_mkostemp() argument 259 return mkostemp(path, O_CLOEXEC | flags); in fdevent_mkostemp() 269 if (flags && 0 != fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) | flags)) { in fdevent_mkostemp() [all …]
|
| H A D | http_etag.c | 69 http_etag_create (buffer * const etag, const struct stat * const st, const int flags) in http_etag_create() argument 71 if (0 == flags) return; in http_etag_create() 76 if (flags & ETAG_USE_INODE) in http_etag_create() 79 if (flags & ETAG_USE_SIZE) in http_etag_create() 82 if (flags & ETAG_USE_MTIME) { in http_etag_create()
|
| H A D | mod_webdav.c | 2501 const int flags) in webdav_delete_dir() argument 2651 int * const flags) in webdav_copytmp_rename() argument 2655 if (!(*flags & (WEBDAV_FLAG_COPY_XDEV in webdav_copytmp_rename() 2699 if (!(*flags & (WEBDAV_FLAG_COPY_XDEV in webdav_copytmp_rename() 2848 *flags = ofd; in webdav_copytmp_rename() 2869 *flags = -1; in webdav_copytmp_rename() 2914 int * const flags) in webdav_copymove_file() argument 3051 int flags) in webdav_copymove_dir() argument 3102 if (flags & WEBDAV_FLAG_MOVE_RENAME) { in webdav_copymove_dir() 3768 const int flags = in webdav_propfind_dir() local [all …]
|
| H A D | burl.h | 33 int burl_normalize (buffer *b, buffer *t, int flags); 46 void burl_append (buffer * const b, const char * const str, const size_t len, const int flags);
|
| H A D | sys-mmap.h | 34 mmap (void *addr, size_t length, int prot, int flags, int fd, off_t offset) in mmap() argument 39 UNUSED(flags); in mmap()
|
| H A D | mod_authn_pam.c | 146 const int flags = PAM_SILENT | PAM_DISALLOW_NULL_AUTHTOK; in mod_authn_pam_query() local 157 || PAM_SUCCESS !=(rc = pam_authenticate(pamh, flags)) in mod_authn_pam_query() 158 || PAM_SUCCESS !=(rc = pam_acct_mgmt(pamh, flags))) in mod_authn_pam_query()
|
| H A D | fdevent.h | 87 int fdevent_open_cloexec(const char *pathname, int symlinks, int flags, mode_t mode); 89 int fdevent_mkostemp(char *path, int flags);
|
| H A D | mod_proxy.c | 610 … void proxy_set_Forwarded(connection * const con, request_st * const r, const unsigned int flags) { in proxy_set_Forwarded() argument 619 if (flags) in proxy_set_Forwarded() 622 if (flags && NULL == b) { in proxy_set_Forwarded() 652 } else if (flags) { /*(NULL != b)*/ in proxy_set_Forwarded() 656 if (flags & PROXY_FORWARDED_FOR) { in proxy_set_Forwarded() 691 if (flags & PROXY_FORWARDED_BY) { in proxy_set_Forwarded() 720 if (flags & PROXY_FORWARDED_PROTO) { in proxy_set_Forwarded() 737 if (flags & PROXY_FORWARDED_HOST) { in proxy_set_Forwarded() 760 if (flags & PROXY_FORWARDED_REMOTE_USER) { in proxy_set_Forwarded()
|
| H A D | http_etag.h | 24 void http_etag_create (buffer *etag, const struct stat *st, int flags);
|
| H A D | h2.c | 1212 uint32_t flags; in h2_recv_continuation() local 1227 flags = s[n+4]; in h2_recv_continuation() 1248 } while (!(flags & H2_FLAG_END_HEADERS)); in h2_recv_continuation() 1314 flags = s[n+4]; in h2_recv_continuation() 1320 } while (!(flags & H2_FLAG_END_HEADERS)); in h2_recv_continuation() 1372 if (!(flags & H2_FLAG_END_STREAM)) { in h2_recv_trailers_r() 2044 if (flags & H2_FLAG_END_STREAM) { in h2_send_hpack() 2332 const uint32_t flags = in h2_send_headers() local 2336 h2_send_hpack(r, con, tb->ptr, dlen, flags); in h2_send_headers() 2429 h2_send_hpack(r, con, tb->ptr, dlen, flags); in h2_send_headers_block() [all …]
|
| H A D | fdlog_maint.c | 219 int flags = O_APPEND | O_WRONLY | O_CREAT; in fdlog_file_open_fd() local 220 return fdevent_open_cloexec(fn, 1, flags, 0644); /*(permit symlinks)*/ in fdlog_file_open_fd()
|
| H A D | stat_cache.h | 54 const buffer * stat_cache_etag_get(stat_cache_entry *sce, int flags);
|
| H A D | stat_cache.c | 447 if (kev->flags & EV_ERROR) /*(not expected; treat as FAMDeleted)*/ in stat_cache_handle_fdevent_in() 1067 const buffer * stat_cache_etag_get(stat_cache_entry *sce, int flags) { in stat_cache_etag_get() argument 1073 if (0 == flags) return NULL; in stat_cache_etag_get() 1074 http_etag_create(&sce->etag, &sce->st, flags); in stat_cache_etag_get()
|
| H A D | mod_cgi.c | 614 const unsigned short flags = r->conf.stream_response_body; in cgi_process_rd_revents() local 620 r->conf.stream_response_body = flags; in cgi_process_rd_revents()
|
| /lighttpd1.4/src/ls-hpack/ |
| H A D | lshpack.c | 432 assert(input->flags & LSXPACK_NAMEVAL_HASH); in lshpack_enc_get_static_nameval() 457 assert(input->flags & LSXPACK_NAME_HASH); in lshpack_enc_get_static_name() 477 if (!(input->flags & LSXPACK_NAME_HASH)) in update_hash() 484 if (!(input->flags & LSXPACK_NAMEVAL_HASH)) in update_hash() 585 if (!(input->flags & LSXPACK_NAME_HASH)) in henc_find_table_id() 1133 if (input->flags & LSXPACK_NEVER_INDEX) in lshpack_enc_encode() 1667 output->flags |= LSXPACK_NEVER_INDEX; in lshpack_dec_decode() 1677 output->flags |= LSXPACK_NEVER_INDEX; in lshpack_dec_decode() 1788 output->flags |= LSXPACK_NAME_HASH; in lshpack_dec_decode() 1821 assert(output->flags & LSXPACK_NAME_HASH); in lshpack_dec_decode() [all …]
|
| H A D | lsxpack_header.h | 59 enum lsxpack_flag flags:8; /* combination of lsxpack_flag */ member 88 hdr->flags = LSXPACK_QPACK_IDX; in lsxpack_header_set_qpack_idx() 161 hdr->flags = (enum lsxpack_flag)(hdr->flags & in lsxpack_header_mark_val_changed()
|
| H A D | huff-tables.h | 272 uint8_t flags; member
|
| /lighttpd1.4/src/compat/ |
| H A D | fastcgi.h | 75 unsigned char flags; member
|
| /lighttpd1.4/ |
| H A D | INSTALL | 125 $ ./configure -C # add --with-xxxxx custom flags 195 # (all -DWITH_... flags below are optional)
|
| H A D | SConstruct | 306 # only enable 'with_*' flags 319 print(">> Appending custom build flags : " + os.environ['CFLAGS']) 323 print(">> Appending custom link flags : " + os.environ['LDFLAGS'])
|
| H A D | configure.ac | 26 dnl @synopsis TRY_CFLAGS [compiler flags] 27 dnl @summary check whether compiler supports given flags and adds them to CFLAGS 44 dnl @synopsis TRY_LDFLAGS [linker flags] 45 dnl @summary check whether linker supports given flags and adds them to LDFLAGS
|
| /lighttpd1.4/tests/ |
| H A D | lighttpd.conf | 19 server.feature-flags += ( "auth.delay-invalid-creds" => "disable" )
|