/* Licensed to the Apache Software Foundation (ASF) under one or more *contributorlicenseagreements.SeetheNOTICEfiledistributedwith *thisworkforadditionalinformationregardingcopyrightownership. *TheASFlicensesthisfiletoYouundertheApacheLicense,Version2.0 *(the"License");youmaynotusethisfileexceptincompliancewith *theLicense.YoumayobtainacopyoftheLicenseat * *http://www.apache.org/licenses/LICENSE-2.0 * *Unlessrequiredbyapplicablelaworagreedtoinwriting,software *distributedundertheLicenseisdistributedonan"ASIS"BASIS, *WITHOUTWARRANTIESORCONDITIONSOFANYKIND,eitherexpressorimplied. *SeetheLicenseforthespecificlanguagegoverningpermissionsand *limitationsundertheLicense.
*/
/** *Theh2modulecontextassociatedwithaconnection. * *Itkeepstrackofthedifferenttypesofconnections: *-thosefromclientsthatuseHTTP/2protocol *-thosefromclientsthatdonotuseHTTP/2 *-thosecreatedbyourselftoperformworkonHTTP/2streams
*/ struct h2_conn_ctx_t { constchar *id; /* c*: our identifier of this connection */
server_rec *server; /* c*: httpd server selected. */ constchar *protocol; /* c1: the protocol negotiated */ struct h2_session *session; /* c1: the h2 session established */ struct h2_mplx *mplx; /* c2: the multiplexer */ struct h2_c2_transit *transit; /* c2: transit pool and bucket_alloc */
#if !AP_HAS_RESPONSE_BUCKETS int pre_conn_done; /* has pre_connection setup run? */ #endif int stream_id; /* c1: 0, c2: stream id processed */
apr_pool_t *req_pool; /* c2: a c2 child pool for a request */ conststruct h2_request *request; /* c2: the request to process */ struct h2_bucket_beam *beam_out; /* c2: data out, created from req_pool */ struct h2_bucket_beam *beam_in; /* c2: data in or NULL, borrowed from request stream */ unsigned input_chunked:1; /* c2: if input needs HTTP/1.1 chunking applied */ unsigned is_upgrade:1; /* c2: if requst is a HTTP Upgrade */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.