mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
*) mod_http2: use the new RESPONSE buckets introduced in r1899648.
This replaces the internal H2_HEADERS bucket, removing its source file and also obsoletes any interim response parsing needs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899649 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -395,17 +395,15 @@ const char *h2_util_base64url_encode(const char *data,
|
||||
|
||||
int h2_util_ignore_header(const char *name);
|
||||
|
||||
struct h2_headers;
|
||||
|
||||
typedef struct h2_ngheader {
|
||||
nghttp2_nv *nv;
|
||||
apr_size_t nvlen;
|
||||
} h2_ngheader;
|
||||
|
||||
apr_status_t h2_res_create_ngtrailer(h2_ngheader **ph, apr_pool_t *p,
|
||||
struct h2_headers *headers);
|
||||
apr_status_t h2_res_create_ngheader(h2_ngheader **ph, apr_pool_t *p,
|
||||
struct h2_headers *headers);
|
||||
ap_bucket_headers *headers);
|
||||
apr_status_t h2_res_create_ngheader(h2_ngheader **ph, apr_pool_t *p,
|
||||
ap_bucket_response *response);
|
||||
apr_status_t h2_req_create_ngheader(h2_ngheader **ph, apr_pool_t *p,
|
||||
const struct h2_request *req);
|
||||
|
||||
@@ -530,4 +528,16 @@ void h2_util_drain_pipe(apr_file_t *pipe);
|
||||
*/
|
||||
apr_status_t h2_util_wait_on_pipe(apr_file_t *pipe);
|
||||
|
||||
/**
|
||||
* Give an estimate of the length of the header fields,
|
||||
* without compression or other formatting decorations.
|
||||
*/
|
||||
apr_size_t headers_length_estimate(ap_bucket_headers *hdrs);
|
||||
|
||||
/**
|
||||
* Give an estimate of the length of the response meta data size,
|
||||
* without compression or other formatting decorations.
|
||||
*/
|
||||
apr_size_t response_length_estimate(ap_bucket_response *resp);
|
||||
|
||||
#endif /* defined(__mod_h2__h2_util__) */
|
||||
|
Reference in New Issue
Block a user