|
Apache HTTPD
|
#include <assert.h>#include <stdio.h>#include <apr_strings.h>#include <httpd.h>#include <http_core.h>#include <http_log.h>#include <util_time.h>#include <nghttp2/nghttp2.h>#include "h2_private.h"#include "h2_protocol.h"#include "h2_config.h"#include "h2_util.h"#include "h2_request.h"#include "h2_headers.h"Go to the source code of this file.
Classes | |
| struct | h2_bucket_headers |
Variables | |
| const apr_bucket_type_t | h2_bucket_type_headers |
Definition at line 132 of file h2_headers.c.
|
static |
Definition at line 93 of file h2_headers.c.
|
static |
Definition at line 49 of file h2_headers.c.
| apr_bucket * h2_bucket_headers_clone | ( | apr_bucket * | b, |
| apr_pool_t * | pool, | ||
| apr_bucket_alloc_t * | list | ||
| ) |
Definition at line 111 of file h2_headers.c.
| apr_bucket * h2_bucket_headers_create | ( | apr_bucket_alloc_t * | list, |
| h2_headers * | r | ||
| ) |
Definition at line 73 of file h2_headers.c.
| h2_headers * h2_bucket_headers_get | ( | apr_bucket * | b | ) |
Definition at line 85 of file h2_headers.c.
| apr_size_t h2_bucket_headers_headers_length | ( | apr_bucket * | b | ) |
For H2HEADER buckets, return the length of all contained header strings. For all other buckets, return 0.
Definition at line 146 of file h2_headers.c.
| apr_bucket * h2_bucket_headers_make | ( | apr_bucket * | b, |
| h2_headers * | r | ||
| ) |
Definition at line 59 of file h2_headers.c.
| int h2_headers_are_final_response | ( | h2_headers * | headers | ) |
Definition at line 214 of file h2_headers.c.
| h2_headers * h2_headers_clone | ( | apr_pool_t * | pool, |
| h2_headers * | h | ||
| ) |
Clone the headers into another pool. This will also clone any header strings.
Definition at line 190 of file h2_headers.c.
| h2_headers * h2_headers_copy | ( | apr_pool_t * | pool, |
| h2_headers * | h | ||
| ) |
Copy the headers into another pool. This will not copy any header strings.
Definition at line 185 of file h2_headers.c.
| h2_headers * h2_headers_create | ( | int | status, |
| const apr_table_t * | header, | ||
| const apr_table_t * | notes, | ||
| apr_off_t | raw_bytes, | ||
| apr_pool_t * | pool | ||
| ) |
Create the headers from the given status and headers
| status | the headers status |
| header | the headers of the headers |
| notes | the notes carried by the headers |
| raw_bytes | the raw network bytes (if known) used to transmit these |
| pool | the memory pool to use |
Definition at line 119 of file h2_headers.c.
| h2_headers * h2_headers_die | ( | apr_status_t | type, |
| const h2_request * | req, | ||
| apr_pool_t * | pool | ||
| ) |
Definition at line 195 of file h2_headers.c.
| apr_size_t h2_headers_length | ( | h2_headers * | headers | ) |
Give the number of bytes of all contained header strings.
Definition at line 139 of file h2_headers.c.
| h2_headers * h2_headers_rcreate | ( | request_rec * | r, |
| int | status, | ||
| const apr_table_t * | header, | ||
| apr_pool_t * | pool | ||
| ) |
Create the headers from the given request_rec.
| r | the request record which was processed |
| status | the headers status |
| header | the headers of the headers |
| pool | the memory pool to use |
Definition at line 152 of file h2_headers.c.
|
static |
Definition at line 38 of file h2_headers.c.
| const apr_bucket_type_t h2_bucket_type_headers |
Definition at line 102 of file h2_headers.c.