/* 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.
*/
typedefenum {
H2_SESSION_ST_INIT, /* send initial SETTINGS, etc. */
H2_SESSION_ST_DONE, /* finished, connection close */
H2_SESSION_ST_IDLE, /* nothing to write, expecting data inc */
H2_SESSION_ST_BUSY, /* read/write without stop */
H2_SESSION_ST_WAIT, /* waiting for c1 incoming + c2s output */
H2_SESSION_ST_CLEANUP, /* pool is being cleaned up */
} h2_session_state;
typedefstruct h2_session_props { int accepted_max; /* the highest remote stream id was/will be handled */ int completed_max; /* the highest remote stream completed */ int emitted_count; /* the number of local streams sent */ int emitted_max; /* the highest local stream id sent */ int error; /* the last session error encountered */ constchar *error_msg; /* the short message given on the error */ unsignedint accepting : 1; /* if the session is accepting new streams */ unsignedint shutdown : 1; /* if the final GOAWAY has been sent */
} h2_session_props;
/* h2_request is the transformer of HTTP2 streams into HTTP/1.1 internal *formatthatwillbefedtovarioushttpdinputfilterstofinally *becomearequest_rectobehandledbysoemone.
*/ typedefstruct h2_request h2_request; struct h2_request { constchar *method; /* pseudo header values, see ch. 8.1.2.3 */ constchar *scheme; constchar *authority; constchar *path; constchar *protocol;
apr_table_t *headers;
apr_time_t request_time;
apr_off_t raw_bytes; /* RAW network bytes that generated this request - if known. */ int http_status; /* Store a possible HTTP status code that gets *definedbeforecreatingthedummyHTTP/1.1 *requeste.g.duetoanerroralready *detected.
*/
};
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.