Home
last modified time | relevance | path

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

12

/lighttpd1.4/src/
H A Dchunk.c99 cq->first = NULL; in chunkqueue_init()
454 cq->first = c; in chunkqueue_prepend_chunk()
566 if (NULL == cq->first) { in chunkqueue_append_chunkqueue()
567 cq->first = src->first; in chunkqueue_append_chunkqueue()
574 src->first = NULL; in chunkqueue_append_chunkqueue()
715 src->first = c->next; in chunkqueue_steal()
785 cq->first = NULL; in chunkqueue_get_append_newtempfile()
937 dest->first = c; in chunkqueue_append_cqmem_to_tempfile_partial()
1057 if (cq->first && cq->first->type == MEM_CHUNK) { in chunkqueue_append_splice_pipe_tempfile()
1315 c = cq->first; in chunkqueue_compact_mem()
[all …]
H A Dnetwork_write.c150 chunk* const c = cq->first; in network_write_mem_chunk()
165 chunk* const c = cq->first; in network_write_file_chunk_no_mmap()
200 chunk * const restrict c = cq->first; in network_write_file_chunk_mmap()
202 ? chunkqueue_chunk_file_view(cq->first, 0, errh)/*use default 512k block*/ in network_write_file_chunk_mmap()
259 for (const chunk *c = cq->first; c && MEM_CHUNK == c->type; c = c->next) { in network_writev_mem_chunks()
296 chunk * const c = cq->first; in network_write_file_chunk_sendfile()
407 while (NULL != cq->first) { in network_write_chunkqueue_writev()
410 switch (cq->first->type) { in network_write_chunkqueue_writev()
435 while (NULL != cq->first) { in network_write_chunkqueue_sendfile()
438 switch (cq->first->type) { in network_write_chunkqueue_sendfile()
H A Dhttp_range.c168 if (cq->first == cq->last) { /* single chunk in cq */ in http_range_single()
176 chunk * const c = cq->first; in http_range_single()
242 chunk * const c = (cq->first == cq->last && cq->first->type == MEM_CHUNK) in http_range_multi()
243 ? cq->first in http_range_multi()
H A Dmod_evhost.c218 int first = 1; in mod_evhost_parse_host() local
238 if(first) first = 0; in mod_evhost_parse_host()
242 first = 1; in mod_evhost_parse_host()
H A Dconnections.c281 if (cq->first->next && cq->first->type == MEM_CHUNK) { in connection_write_chunkqueue()
282 const chunk *c = cq->first; in connection_write_chunkqueue()
569 return cq->first; /* refresh c after chunkqueue_mark_written() */ in connection_discard_blank_line()
590 if (cq->first != cq->last && 0 != olen) { in connection_read_header_more()
598 c = cq->first; in connection_read_header_more()
642 chunk *c = cq->first; in connection_handle_read_state()
1593 chunk *c = cq->first; in connection_handle_read_post_cq_compact()
1621 c = cq->first; in connection_handle_read_post_chunked_crlf()
1651 chunk *c = cq->first; in connection_handle_read_post_chunked()
1703 c = cq->first; in connection_handle_read_post_chunked()
[all …]
H A Dgw_backend.c204 gw_proc_free(h->first); in gw_host_free()
703 proc->next = host->first; in gw_proc_spawn()
704 if (host->first) in gw_proc_spawn()
705 host->first->prev = proc; in gw_proc_spawn()
706 host->first = proc; in gw_proc_spawn()
715 else host->first = proc->next; in gw_proc_kill()
1665 proc->next = host->first; in gw_set_defaults_backend()
1666 if (host->first) host->first->prev = proc; in gw_set_defaults_backend()
1667 host->first = proc; in gw_set_defaults_backend()
1689 host->first = proc; in gw_set_defaults_backend()
[all …]
H A Dh2.c1201 return buffer_clen(cq->first->mem) - (uint32_t)cq->first->offset; in h2_frame_cq_compact()
1209 chunk *c = cq->first; in h2_recv_continuation()
1220 c = cq->first; /*(reload after h2_frame_cq_compact())*/ in h2_recv_continuation()
1719 chunk *c = cq->first; in h2_parse_frames()
1861 chunk *c = cq->first; in h2_want_read()
1865 c = cq->first; /*(reload after h2_frame_cq_compact())*/ in h2_want_read()
1898 chunk * const c = cq->first; in h2_recv_client_connection_preface()
1910 chunk *c = cq->first; in h2_recv_client_connection_preface()
1913 c = cq->first; /*(reload after h2_frame_cq_compact())*/ in h2_recv_client_connection_preface()
2534 chunk * const c = r->write_queue.first;
[all …]
H A Dchunk.h47 chunk *first; member
183 return NULL == cq->first; in chunkqueue_is_empty()
H A Dmod_deflate.c1463 char * const in = hctx->r->write_queue.first->mem->ptr; in mod_deflate_using_libdeflate_sm()
1503 const chunk * const c = hctx->r->write_queue.first; in mod_deflate_using_libdeflate_setjmp_cb()
1573 const chunk * const c = hctx->r->write_queue.first; in mod_deflate_using_libdeflate()
1712 chunk *c = hctx->in_queue.first; in deflate_compress_response()
2032 && r->write_queue.first == r->write_queue.last in REQUEST_FUNC()
2033 && r->write_queue.first->type == FILE_CHUNK in REQUEST_FUNC()
2034 && r->write_queue.first->offset == 0 in REQUEST_FUNC()
2035 && !r->write_queue.first->file.is_temp in REQUEST_FUNC()
2059 sce = stat_cache_get_entry(r->write_queue.first->mem); in REQUEST_FUNC()
2082 chunk * const c = r->write_queue.first; /*(invalid after compression)*/ in REQUEST_FUNC()
H A Dmod_vhostdb_ldap.c399 LDAPMessage *lm, *first; in mod_vhostdb_ldap_query() local
453 if (NULL == (first = ldap_first_entry(ld, lm))) { in mod_vhostdb_ldap_query()
459 if (NULL != (vals = ldap_get_values_len(ld, first, dbconf->attr))) { in mod_vhostdb_ldap_query()
H A Dgw_backend.h55 gw_proc *first; member
H A Dmod_authn_ldap.c640 LDAPMessage *lm, *first; in mod_authn_ldap_get_dn() local
661 if (NULL == (first = ldap_first_entry(ld, lm))) { in mod_authn_ldap_get_dn()
667 if (NULL == (dn = ldap_get_dn(ld, first))) { in mod_authn_ldap_get_dn()
H A Dmod_cgi.c679 for (c = cq->first; c; c = cq->first) { in cgi_write_request()
686 if (c != cq->first || wr == 16384) in cgi_write_request()
781 chunk * const c = cq->first; in cgi_create_env()
H A Dmod_webdav.c775 for (chunk *c = cq->first; c; c = c->next) { in webdav_xml_log_response()
3851 chunk *c = cq->first; in webdav_parse_chunkqueue()
4532 chunk * const c = cq->first; in mod_webdav_write_single_file_chunk()
4533 cq->first = c->next; in mod_webdav_write_single_file_chunk()
4543 cq->first = cq->last = c; in mod_webdav_write_single_file_chunk()
4548 c->next = cq->first; in mod_webdav_write_single_file_chunk()
4549 cq->first = c; in mod_webdav_write_single_file_chunk()
4707 chunk *c = cq->first; in mod_webdav_put_linkat_rename()
4825 chunk *c = cq->first; in mod_webdav_put_range()
4944 chunk *c = cq->first; in mod_webdav_put()
H A Dmod_ajp13.c233 (chunkqueue_is_empty(&hctx->wb) || hctx->wb.first->type == MEM_CHUNK) in ajp13_stdin_append()
672 chunk * const c = hctx->rb->first; in ajp13_expand_headers()
H A Dmod_wstunnel.c940 for (chunk *c = cq->first; c; c = c->next) { in recv_ietf_00()
1127 for (chunk *c = cq->first; c; c = c->next) { in recv_rfc_6455()
H A Dmod_fastcgi.c210 …(chunkqueue_is_empty(&hctx->wb) || hctx->wb.first->type == MEM_CHUNK) /* else FILE_CHUNK for temp … in fcgi_stdin_append()
/lighttpd1.4/src/t/
H A Dtest_mod_ssi.c64 assert(cq->first); in test_mod_ssi_read_fd()
65 assert(buffer_eq_slen(cq->first->mem, in test_mod_ssi_read_fd()
74 assert(NULL == cq->first); in test_mod_ssi_read_fd()
80 assert(cq->first); in test_mod_ssi_read_fd()
81 assert(cq->first->type == FILE_CHUNK); in test_mod_ssi_read_fd()
84 if (0 != lseek(cq->first->file.fd, 0, SEEK_SET) in test_mod_ssi_read_fd()
85 || 2 != read(cq->first->file.fd, buf, sizeof(buf))) { in test_mod_ssi_read_fd()
127 assert(buffer_eq_slen(cq->first->mem, in test_mod_ssi_read_fd()
/lighttpd1.4/doc/outdated/
H A Dconfiguration.txt351 As auth should be done first, move it before all executing modules (like
354 rewrites, redirects and access should be first, followed by auth and
490 The list is compared top down and the first match is taken. This is
H A Dstatus.txt33 We need to load the module first. ::
H A Drrdtool.txt41 before the first run, as lighttpd has to create the DB for you.
H A Dstate.txt89 for the response of the first request). This is handled transparently by
H A Dplugins.txt102 The first real call of a plugin function is the init hook which is used
H A Dfastcgi.txt138 "disable". If enabled the server first check
257 Whenever a new connection is requested, the first entry (the one
/lighttpd1.4/src/ls-hpack/
H A Dlshpack.c1043 unsigned hist_size, first, count, i, j; in henc_resize_history() local
1066 first = (enc->hpe_hist_idx + 1) % enc->hpe_hist_size; in henc_resize_history()
1071 first = 0; in henc_resize_history()
1075 hist_buf[j] = enc->hpe_hist_buf[ (first + i) % enc->hpe_hist_size ]; in henc_resize_history()

12