Searched refs:header (Results 1 - 24 of 24) sorted by relevance

/tldk/app/nginx/src/os/unix/
H A Dngx_darwin_sendfile_chain.c19 * with both a header and a trailer, then sendfile() ignores a file part
20 * at all and sends only the header and the trailer together.
21 * For this reason we send a trailer only if there is no a header.
23 * Although sendfile() allows to pass a header or a trailer,
24 * it may send the header or the trailer and a part of the file
42 ngx_iovec_t header, trailer; local
72 header.iovs = headers;
73 header.nalloc = NGX_IOVS_PREALLOCATE;
82 /* create the header iovec and coalesce the neighbouring bufs */
84 cl = ngx_output_chain_to_iovec(&header, i
[all...]
H A Dngx_freebsd_sendfile_chain.c14 * Although FreeBSD sendfile() allows to pass a header and a trailer,
15 * it cannot send a header with a part of the file in one packet until
22 * to postpone the sending - it not only sends a header and the first part of
44 ngx_iovec_t header, trailer; local
85 header.iovs = headers;
86 header.nalloc = NGX_IOVS_PREALLOCATE;
98 /* create the header iovec and coalesce the neighbouring bufs */
100 cl = ngx_output_chain_to_iovec(&header, in, limit - send, c->log);
106 send += header.size;
166 hdtr.headers = header
[all...]
H A Dngx_linux_sendfile_chain.c57 ngx_iovec_t header; local
76 header.iovs = headers;
77 header.nalloc = NGX_IOVS_PREALLOCATE;
84 cl = ngx_output_chain_to_iovec(&header, in, limit - send, c->log);
90 send += header.size;
92 /* set TCP_CORK if there is a header before a file */
95 && header.count != 0
159 if (header.count == 0 && cl && cl->buf->in_file && send < limit) {
188 n = ngx_writev(c, &header);
/tldk/app/nginx/src/http/v2/
H A Dngx_http_v2_table.c105 name_only ? "header" : "header name", index);
110 h2c->state.header = ngx_http_v2_static_table[index];
125 h2c->state.header.name.len = entry->name.len;
126 h2c->state.header.name.data = p;
149 h2c->state.header.value.len = entry->value.len;
150 h2c->state.header.value.data = p;
176 ngx_http_v2_header_t *header)
183 "http2 add header to hpack table: \"%V: %V\"",
184 &header
175 ngx_http_v2_add_header(ngx_http_v2_connection_t *h2c, ngx_http_v2_header_t *header) argument
[all...]
H A Dngx_http_v2_filter_module.c134 ngx_table_elt_t *header; local
160 "http2 header filter");
369 header = part->elts;
379 header = part->elts;
383 if (header[i].hash == 0) {
387 if (header[i].key.len > NGX_HTTP_V2_MAX_FIELD) {
389 "too long response header name: \"%V\"",
390 &header[i].key);
394 if (header[i].value.len > NGX_HTTP_V2_MAX_FIELD) {
396 "too long response header valu
[all...]
H A Dngx_http_v2.c149 ngx_http_v2_header_t *header);
151 ngx_http_v2_header_t *header);
153 ngx_http_v2_header_t *header);
155 ngx_http_v2_header_t *header);
157 ngx_http_v2_header_t *header);
159 ngx_http_v2_header_t *header);
162 ngx_http_v2_header_t *header);
1032 "client sent HEADERS frame with empty header block");
1213 /* indexed header field */
1218 /* literal header fiel
1525 ngx_http_v2_header_t *header; local
2970 ngx_http_v2_validate_header(ngx_http_request_t *r, ngx_http_v2_header_t *header) argument
3039 ngx_http_v2_pseudo_header(ngx_http_request_t *r, ngx_http_v2_header_t *header) argument
3088 ngx_http_v2_parse_path(ngx_http_request_t *r, ngx_http_v2_header_t *header) argument
3128 ngx_http_v2_parse_method(ngx_http_request_t *r, ngx_http_v2_header_t *header) argument
3223 ngx_http_v2_parse_scheme(ngx_http_request_t *r, ngx_http_v2_header_t *header) argument
3247 ngx_http_v2_parse_authority(ngx_http_request_t *r, ngx_http_v2_header_t *header) argument
3333 ngx_http_v2_cookie(ngx_http_request_t *r, ngx_http_v2_header_t *header) argument
[all...]
H A Dngx_http_v2.h81 ngx_http_v2_header_t header; member in struct:__anon338
279 ngx_http_v2_header_t *header);
/tldk/app/nginx/src/http/modules/
H A Dngx_http_realip_module.c23 ngx_str_t header; member in struct:__anon209
139 ngx_table_elt_t *header; local
196 header = part->elts;
199 len = rlcf->header.len;
200 p = rlcf->header.data;
210 header = part->elts;
214 if (hash == header[i].hash
215 && len == header[i].key.len
216 && ngx_strncmp(p, header[i].lowcase_key, len) == 0)
218 value = &header[
[all...]
H A Dngx_http_not_modified_filter_module.c16 ngx_table_elt_t *header, ngx_uint_t weak);
172 ngx_http_test_if_match(ngx_http_request_t *r, ngx_table_elt_t *header, argument
178 list = &header->value;
H A Dngx_http_scgi_module.c631 ngx_table_elt_t *header, **ignored; local
714 header = part->elts;
724 header = part->elts;
729 if (allocated < header[i].key.len) {
730 allocated = header[i].key.len + 16;
739 for (n = 0; n < header[i].key.len; n++) {
740 ch = header[i].key.data[n];
754 ignored[header_params++] = &header[i];
759 len += sizeof("HTTP_") - 1 + header[i].key.len + 1
760 + header[
[all...]
H A Dngx_http_uwsgi_module.c831 ngx_table_elt_t *header, **ignored; local
901 header = part->elts;
911 header = part->elts;
916 if (allocated < header[i].key.len) {
917 allocated = header[i].key.len + 16;
926 for (n = 0; n < header[i].key.len; n++) {
927 ch = header[i].key.data[n];
941 ignored[header_params++] = &header[i];
946 len += 2 + sizeof("HTTP_") - 1 + header[i].key.len
947 + 2 + header[
[all...]
H A Dngx_http_autoindex_module.c447 static u_char header[] = local
475 + sizeof(header) - 1
520 b->last = ngx_cpymem(b->last, header, sizeof(header) - 1);
525 b->last = ngx_cpymem(b->last, header, sizeof(header) - 1);
H A Dngx_http_fastcgi_module.c835 ngx_table_elt_t *header, **ignored; local
909 header = part->elts;
919 header = part->elts;
924 if (allocated < header[i].key.len) {
925 allocated = header[i].key.len + 16;
934 for (n = 0; n < header[i].key.len; n++) {
935 ch = header[i].key.data[n];
949 ignored[header_params++] = &header[i];
956 n = sizeof("HTTP_") - 1 + header[i].key.len;
959 len += ((n > 127) ? 4 : 1) + ((header[
[all...]
H A Dngx_http_proxy_module.c1152 ngx_table_elt_t *header; local
1270 header = part->elts;
1280 header = part->elts;
1284 if (ngx_hash_find(&headers->hash, header[i].hash,
1285 header[i].lowcase_key, header[i].key.len))
1290 len += header[i].key.len + sizeof(": ") - 1
1291 + header[i].value.len + sizeof(CRLF) - 1;
1366 /* skip the header line name length */
1395 header
[all...]
H A Dngx_http_geo_module.c1396 ngx_http_geo_header_t *header; local
1475 header = (ngx_http_geo_header_t *) base;
1477 if (size < 16 || ngx_memcmp(&ngx_http_geo_header, header, 12) != 0) {
1523 if (crc32 != header->crc32) {
1563 ngx_http_geo_header_t *header; local
1623 header = fm.addr;
1624 header->crc32 = ngx_crc32_long((u_char *) fm.addr
/tldk/app/nginx/src/http/
H A Dngx_http_header_filter_module.c165 ngx_table_elt_t *header; local
200 /* the end of the header */
384 * MSIE and Opera ignore the "Keep-Alive: timeout=<N>" header.
411 header = part->elts;
421 header = part->elts;
425 if (header[i].hash == 0) {
429 len += header[i].key.len + sizeof(": ") - 1 + header[i].value.len
579 header = part->elts;
589 header
[all...]
H A Dngx_http.c409 ngx_http_header_t *header; local
417 for (header = ngx_http_headers_in; header->name.len; header++) {
423 hk->key = header->name;
424 hk->key_hash = ngx_hash_key_lc(header->name.data, header->name.len);
425 hk->value = header;
H A Dngx_http_file_cache.c579 "cache file \"%s\" has too long header",
1111 ngx_table_elt_t *header; local
1136 header = part->elts;
1146 header = part->elts;
1150 if (header[i].hash == 0) {
1154 if (header[i].key.len != name->len) {
1158 if (ngx_strncasecmp(header[i].key.data, name->data, name->len) != 0) {
1168 ngx_md5_update(md5, header[i].value.data, header[i].value.len);
1177 p = header[
[all...]
H A Dngx_http_variables.c943 ngx_table_elt_t *header; local
945 header = part->elts;
955 header = part->elts;
959 if (header[i].hash == 0) {
963 for (n = 0; n + prefix < var->len && n < header[i].key.len; n++) {
964 ch = header[i].key.data[n];
978 if (n + prefix == var->len && n == header[i].key.len) {
979 v->len = header[i].value.len;
983 v->data = header[i].value.data;
H A Dngx_http_upstream.c2199 "http upstream process header");
2201 c->log->action = "reading response header from upstream";
2290 "upstream sent too big header");
6340 ngx_http_upstream_header_t *header; local
6364 for (header = ngx_http_upstream_headers_in; header->name.len; header++) {
6370 hk->key = header->name;
6371 hk->key_hash = ngx_hash_key_lc(header->name.data, header
[all...]
/tldk/app/nginx/src/http/modules/perl/
H A Dnginx.xs498 ngx_table_elt_t *header;
505 header = ngx_list_push(&r->headers_out.headers);
506 if (header == NULL) {
510 header->hash = 1;
512 if (ngx_http_perl_sv2str(aTHX_ r, &header->key, key) != NGX_OK) {
516 if (ngx_http_perl_sv2str(aTHX_ r, &header->value, value) != NGX_OK) {
520 if (header->key.len == sizeof("Content-Length") - 1
521 && ngx_strncasecmp(header->key.data, (u_char *) "Content-Length",
525 r->headers_out.content_length = header;
528 if (header
[all...]
/tldk/app/nginx/src/mail/
H A Dngx_mail_auth_http_module.c23 ngx_str_t header; member in struct:__anon362
490 "mail auth http header: \"%V: %V\"",
687 "mail auth http header done");
847 "auth http server %V sent invalid header in response",
967 /* header name */
1005 /* space* before header value */
1026 /* header value */
1043 /* space* before end of header line */
1059 /* end of header line */
1068 /* end of header */
1447 ngx_table_elt_t *header; local
1554 ngx_table_elt_t *header; local
[all...]
/tldk/app/nginx/src/stream/
H A Dngx_stream_geo_module.c1322 ngx_stream_geo_header_t *header; local
1401 header = (ngx_stream_geo_header_t *) base;
1403 if (size < 16 || ngx_memcmp(&ngx_stream_geo_header, header, 12) != 0) {
1451 if (crc32 != header->crc32) {
1491 ngx_stream_geo_header_t *header; local
1551 header = fm.addr;
1552 header->crc32 = ngx_crc32_long((u_char *) fm.addr
/tldk/app/nginx/contrib/vim/syntax/
H A Dnginx.vim650 " Parses the Accept-Language header and gives the most suitable locale from a list of supported locales.
768 " Parses the Accept-Language header and gives the most suitable locale from a list of supported locales.
1308 " Parses the Accept-Language header and gives the most suitable locale from a list of supported locales.
1992 " Change the `Content-Type` output header depending on an extension variable according to a condition specified in the 'if' clause.

Completed in 36 milliseconds