Go to the documentation of this file.
1 /* Licensed to the Apache Software Foundation (ASF) under one or more
2  * contributor license agreements. See the NOTICE file distributed with
3  * this work for additional information regarding copyright ownership.
4  * The ASF licenses this file to You under the Apache License, Version 2.0
5  * (the "License"); you may not use this file except in compliance with
6  * the License. You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
17 #ifndef __mod_h2__h2_conn__
18 #define __mod_h2__h2_conn__
20 struct h2_ctx;
21 struct h2_task;
48 /* Initialize this child process for h2 connection work,
49  * to be called once during child init before multi processing
50  * starts.
51  */
55 typedef enum {
66 /* Returns the type of MPM module detected */
68 const char *h2_conn_mpm_name(void);
69 int h2_mpm_supported(void);
71 conn_rec *h2_secondary_create(conn_rec *master, int sec_id, apr_pool_t *parent);
72 void h2_secondary_destroy(conn_rec *secondary);
75 void h2_secondary_run_connection(conn_rec *secondary);
77 #endif /* defined(__mod_h2__h2_conn__) */
Definition: h2_conn.h:57
Definition: h2_task.h:52
Definition: h2_conn.h:61
Definition: h2_conn.h:62
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:555
Definition: h2_conn.h:63
conn_rec * h2_secondary_create(conn_rec *master, int sec_id, apr_pool_t *parent)
Definition: h2_conn.h:58
h2_mpm_type_t h2_conn_mpm_type(void)
Definition: h2_conn.h:56
Structure to store things which are per connection.
Definition: httpd.h:1183
apr_status_t h2_conn_child_init(apr_pool_t *pool, server_rec *s)
apr_status_t h2_conn_setup(conn_rec *c, request_rec *r, server_rec *s)
Definition: h2_conn.h:55
Definition: h2_ctx.h:32
A structure to store information for each virtual server.
Definition: httpd.h:1370
Definition: apr_arch_networkio.h:37
int h2_mpm_supported(void)
apr_status_t h2_conn_run(conn_rec *c)
Definition: h2_conn.h:59
void h2_secondary_destroy(conn_rec *secondary)
apr_status_t h2_secondary_run_pre_connection(conn_rec *secondary, apr_socket_t *csd)
A structure that represents the current request.
Definition: httpd.h:860
Definition: h2_conn.h:60
const char * h2_conn_mpm_name(void)
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
int apr_status_t
Definition: apr_errno.h:44
request_rec * r
Definition: mod_dav.h:518
conn_rec * c
Definition: h2_task.h:55
apr_status_t h2_conn_pre_close(struct h2_ctx *ctx, conn_rec *c)
void h2_secondary_run_connection(conn_rec *secondary)