Searched defs:header (Results 1 - 20 of 20) sorted by relevance

/httpd/modules/session/
H A Dmod_session.h109 const char *header; /* header to inject session */ member in struct:__anon309
/httpd/server/
H A Dutil_fcgi.c81 AP_DECLARE(void) ap_fcgi_fill_in_header(ap_fcgi_header *header, argument
87 header->version = AP_FCGI_VERSION_1;
89 header->type = type;
91 header->requestIdB1 = ((request_id >> 8) & 0xff);
92 header->requestIdB0 = ((request_id) & 0xff);
94 header->contentLengthB1 = ((content_len >> 8) & 0xff);
95 header->contentLengthB0 = ((content_len) & 0xff);
97 header->paddingLength = padding_len;
99 header->reserved = 0;
/httpd/modules/proxy/
H A Dajp_header.c51 char header[16]; local
56 /* ACCEPT-LANGUAGE is the longest header
63 header[i++] = apr_toupper(*p++);
64 header[i] = '\0';
65 p = &header[1];
67 switch (header[0]) {
70 if (!header[6])
72 else if (header[6] == '-') {
272 "Error appending the header name");
280 "Error appending the header nam
[all...]
H A Dmod_proxy_fcgi.c219 ap_fcgi_header header; local
225 ap_fcgi_fill_in_header(&header, AP_FCGI_BEGIN_REQUEST, request_id,
232 ap_fcgi_header_to_array(&header, farray);
250 ap_fcgi_header header; local
333 ap_fcgi_fill_in_header(&header, AP_FCGI_PARAMS, request_id,
335 ap_fcgi_header_to_array(&header, farray);
351 ap_fcgi_fill_in_header(&header, AP_FCGI_PARAMS, request_id, 0, 0);
352 ap_fcgi_header_to_array(&header, farray);
370 * end fastcgi server. STATE holds the current header parsing state for this
439 ap_fcgi_header header; local
[all...]
/httpd/modules/debugging/
H A Dmod_firehose.c129 char header[HEADER_LEN + 1]; local
135 hdr_len = apr_snprintf(header, sizeof(header), HEADER_FMT,
138 ap_xlate_proto_to_ascii(header, hdr_len);
140 rv = apr_file_write_full(ctx->conn->file, header, hdr_len, NULL);
200 char header[HEADER_LEN + 1]; local
207 * Insert the chunk header, specifying the number of bytes in
210 hdr_len = apr_snprintf(header, sizeof(header), HEADER_FMT,
213 ap_xlate_proto_to_ascii(header, hdr_le
[all...]
/httpd/support/
H A Dfirehose.c157 static void help(const char *argv, const char * header, const char *footer, argument
162 if (header) {
163 printf(header, argv);
198 static apr_status_t make_uuid_rec(file_rec *file, header_rec *header, argument
208 rec->uuid = apr_pstrdup(pool, header->uuid);
210 rec->last = header->timestamp;
211 rec->direction = header->direction;
213 if (header->direction == '>') {
216 if (header->direction == '<') {
231 static apr_status_t finalise_body(file_rec *file, header_rec *header) argument
284 check_prefix(file_rec *file, header_rec *header, const char *str, apr_size_t len) argument
319 process_body(file_rec *file, header_rec *header, const char *str, apr_size_t len) argument
427 process_header(file_rec *file, header_rec *header, const char *str, apr_size_t len) argument
545 header_rec header; local
[all...]
H A Dhtcacheclean.c468 /* stat the header file */
711 /* if a user manually creates a '.header' file */
844 /* single data and header files may be deleted either in realclean
1143 const char *header = apr_pstrcat(pool, rest, CACHE_HEADER_SUFFIX, NULL); local
1176 if (!strcmp(dirent.name, header) || !strcmp(dirent.name, data)) {
1190 remove = apr_pstrcat(pool, base, "/", header, NULL);
1325 " attributes in the following order: url, header size, body size," NL
/httpd/modules/aaa/
H A Dmod_authnz_fcgi.c164 /* Connection hop-by-hop header to prevent the CGI from hanging */
270 ap_fcgi_header header; local
276 ap_fcgi_fill_in_header(&header, AP_FCGI_BEGIN_REQUEST, request_id,
280 ap_fcgi_header_to_array(&header, farray);
300 ap_fcgi_header header; local
364 ap_fcgi_fill_in_header(&header, AP_FCGI_PARAMS, request_id,
366 ap_fcgi_header_to_array(&header, farray);
382 ap_fcgi_fill_in_header(&header, AP_FCGI_PARAMS, request_id, 0, 0);
383 ap_fcgi_header_to_array(&header, farray);
392 * This header
[all...]
/httpd/modules/cache/
H A Dcache_util.c544 * proxy-revalidate if the max-stale request header exists, modify the
547 * must-revalidate or proxy-revalidate cached response header exists to
555 * - RFC2616 14.9.4 Cache-Control: max-age this header can appear in both
559 * - RFC2616 14.21 Expires: if this request header exists in the cached
589 * no-cache with a header present, or a private with a header
646 * similar to a "never expires" Expires header (RFC2616 14.21)
680 /* set age header on response */
698 * s-maxage appears in the response, and the response header age
975 * which tokens appear within the header
994 char *header = apr_pstrdup(r->pool, pragma_header); local
1011 char *header = apr_pstrdup(r->pool, cc_header); local
1145 char *header = apr_pstrdup(r->pool, cc_header); local
1154 const char *header = cache_strqtok(token + 9, local
1172 const char *header = cache_strqtok(token + 8, local
1201 char **header; local
[all...]
H A Dmod_cache.c992 /* Parse the cache control header */
1017 * valid Expires or Cache Control header. If we find a either of
1024 * another header(s) that explicitly allow it. For example, these
1025 * include the following: an Expires header (section 14.21); a
1041 /* if a broken Expires header is present, don't cache it */
1042 reason = apr_pstrcat(p, "Broken expires header: ", exps, NULL);
1046 /* if a Expires header is in the past, don't cache it */
1047 reason = "Expires header already expired; not cacheable";
1110 reason = "Vary header contains '*'";
1128 * Note: a new response that has an older Date header valu
2158 add_ignore_header(cmd_parms *parms, void *dummy, const char *header) argument
[all...]
H A Dmod_cache_disk.c36 * Open <hash>.header
37 * Read in <hash>.header file (may contain Format #1 or Format #2)
39 * Use each header name (from .header) with our request values (headers_in) to
41 * re-read in <hash>.header (must be format #2)
265 const char *header; local
279 * Most of rfc2616 is case insensitive on header contents.
297 header = apr_table_get(headers, elts[i]);
298 if (!header) {
299 header
[all...]
H A Dmod_cache_socache.c45 * Use each header name (from .header) with our request values (headers_in) to
279 const char *header; local
293 * Most of rfc2616 is case insensitive on header contents.
311 header = apr_table_get(headers, elts[i]);
312 if (!header) {
313 header = "";
318 iov[k].iov_base = (char*) header;
319 iov[k].iov_len = strlen(header);
635 /* Call routine to read the header line
[all...]
H A Dmod_socache_shmcb.c107 SHMCBHeader *header; member in struct:ap_socache_instance_t
114 * The SHMCBHeader header structure stores metadata concerning the
117 * Subcaches is a hash table of header->subcache_num SHMCBSubcache
119 * SHMCBSubcache structure has a fixed size (header->subcache_size),
127 * total size header->subcache_data_size; data inside is referenced
132 * "Indexes" is an array of header->index_num SHMCBIndex structures,
135 * use. Both ->idx_* values have a range of [0, header->index_num)
152 /* This macro takes a pointer to the header and a zero-based index and returns
159 /* This macro takes a pointer to the header and an id and returns a
176 /* This macro takes a pointer to the header an
347 SHMCBHeader *header; local
485 SHMCBHeader *header = ctx->header; local
522 SHMCBHeader *header = ctx->header; local
547 SHMCBHeader *header = ctx->header; local
576 SHMCBHeader *header = ctx->header; local
681 SHMCBHeader *header = instance->header; local
704 shmcb_subcache_expire(server_rec *s, SHMCBHeader *header, SHMCBSubcache *subcache, apr_time_t now) argument
750 shmcb_subcache_store(server_rec *s, SHMCBHeader *header, SHMCBSubcache *subcache, unsigned char *data, unsigned int data_len, const unsigned char *id, unsigned int id_len, apr_time_t expiry) argument
854 shmcb_subcache_retrieve(server_rec *s, SHMCBHeader *header, SHMCBSubcache *subcache, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen) argument
917 shmcb_subcache_remove(server_rec *s, SHMCBHeader *header, SHMCBSubcache *subcache, const unsigned char *id, unsigned int idlen) argument
953 shmcb_subcache_iterate(ap_socache_instance_t *instance, server_rec *s, void *userctx, SHMCBHeader *header, SHMCBSubcache *subcache, ap_socache_iterator_t *iterator, unsigned char **buf, apr_size_t *buf_len, apr_pool_t *pool, apr_time_t now) argument
[all...]
/httpd/modules/filters/
H A Dmod_deflate.c30 #define HEAD_CRC 0x02 /* bit 1 set: header CRC present */
81 /* RFC 1952 Section 2.3 defines the gzip header:
93 /* magic header */
96 /* windowsize is negative to suppress Zlib header */
403 char header[10]; /* sizeof(gzip_header) */ member in struct:deflate_ctx_t
730 * for this header and downstream proxies should be aware of that.
844 /* add immortal gzip header */
1133 if (!ctx || ctx->header_len < sizeof(ctx->header)) {
1170 len = sizeof(ctx->header) - ctx->header_len;
1186 /* If the header wa
[all...]
H A Dmod_proxy_html.c681 char *header; local
687 header = NULL;
692 header = apr_pstrndup(r->pool, p, q-p);
693 if (strncasecmp(header, "Content-", 8)) {
721 else if (!strncasecmp(header, "Content-Type", 12)) {
726 if (header && content) {
729 "Adding header [%s: %s] from HTML META",
730 header, content);
732 apr_table_setn(r->headers_out, header, content);
/httpd/modules/metadata/
H A Dmod_headers.c28 * Header action header value
29 * RequestHeader action header value
32 * set - set this header, replacing any old value
33 * add - add this header, possible resulting in two or more
35 * append - append this text onto any existing header of this same
36 * merge - merge this text onto any existing header of this same,
38 * unset - remove this header
39 * edit - transform the header value according to a regexp
42 * The header name can include the colon, or not.
47 * When the request is processed, the header directive
130 const char *header; member in struct:__anon254
[all...]
H A Dmod_mime_magic.c191 struct header { struct in union:record
206 } header; member in union:record
2226 register union record *header = (union record *) buf; local
2234 recsum = from_oct(8, header->header.chksum);
2237 p = header->charptr;
2246 for (i = sizeof(header->header.chksum); --i >= 0;)
2247 sum -= 0xFF & header->header
[all...]
/httpd/modules/test/
H A Dmod_policy.c390 "Vary header(s) should NOT match any of: %s", varys),
404 * Validation is possible through either the ETag or Last-Modified header, as described
479 * The If-None-Match header is described in
482 * If-None-Match header is present in the request, an ETag is present in the response,
520 * If the Cache-Control and/or Pragma header specifies that the content is not
544 char *header = apr_pstrdup(r->pool, pragma_header); local
545 const char *token = apr_strtok(header, ", ", &last);
560 char *header = apr_pstrdup(r->pool, cc_header); local
561 const char *token = apr_strtok(header, ", ", &last);
659 char *header local
[all...]
/httpd/modules/generators/
H A Dmod_autoindex.c125 char *header; member in struct:autoindex_config_struct
164 * This routine puts the standard HTML header at the top of the index page.
593 (void *)APR_OFFSETOF(autoindex_config_rec, header),
650 new->header = add->header ? add->header
651 : base->header;
923 * succeeds for the (content_type == text/html) header file.
927 * Emitted if a header file is NOT emitted.
1011 * If there's a header fil
[all...]
/httpd/modules/mappers/
H A Dmod_negotiation.c193 * present in the best matching Accept header element.
214 * appropriate header lines, except for source_quality, which
270 int send_alternates; /* 1 if we want to send an Alternates header */
334 * when creating the etag header
342 * HTTPD header lines and elsewhere.
506 * Dealing with header lines ...
562 * Handling header lines from clients...
619 * Alternates header to the user agent by default. User
620 * agents that want an Alternates header for agent-driven
622 * appropriate Negotiate header
910 lcase_header_name_return_body(char *header, request_rec *r) argument
[all...]

Completed in 90 milliseconds