Go to the source code of this file.
◆ APR_OPTIONAL_FN_TYPE() [1/2]
◆ APR_OPTIONAL_FN_TYPE() [2/2]
◆ h2_c1_allows_direct()
Check if the connection allows a direct detection of HTTPP/2, as configurable by the H2Direct directive.
- Parameters
-
c | the connection to check on |
- Returns
- != 0 if direct detection is enabled
◆ h2_c1_can_upgrade()
Check if the "Upgrade" HTTP/1.1 mode of protocol switching is enabled for the given request.
- Parameters
-
- Returns
- != 0 iff Upgrade switching is enabled
◆ h2_c1_child_init()
◆ h2_c1_child_stopping()
Child is about to be stopped, release unused resources
◆ h2_c1_pre_close()
The primary connection is about to close. If we have not send a GOAWAY yet, this is the last chance.
◆ h2_c1_register_hooks()
void h2_c1_register_hooks |
( |
void |
| ) |
|
◆ h2_c1_run()
Run the HTTP/2 primary connection in synchronous fashion. Return when the HTTP/2 session is done and the connection will close or a fatal error occurred.
- Parameters
-
c | the http2 connection to run |
- Returns
- APR_SUCCESS when session is done.
◆ h2_c1_setup()
Setup the primary connection and our context for HTTP/2 processing
- Parameters
-
c | the connection HTTP/2 is starting on |
r | the upgrade request that still awaits an answer, optional |
s | the server selected for this connection (can be != c->base_server) |