MCPcopy Create free account
hub / github.com/apache/httpd / ap_get_protocol

Function ap_get_protocol

server/protocol.c:2397–2401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2395}
2396
2397AP_DECLARE(const char *) ap_get_protocol(conn_rec *c)
2398{
2399 const char *protocol = ap_run_protocol_get(c);
2400 return protocol? protocol : AP_PROTOCOL_HTTP1;
2401}
2402
2403AP_DECLARE(apr_status_t) ap_get_protocol_upgrades(conn_rec *c, request_rec *r,
2404 server_rec *s, int report_all,

Callers 9

ssl_callback_alpn_selectFunction · 0.85
h2_protocol_proposeFunction · 0.85
ap_get_protocol_upgradesFunction · 0.85
ap_select_protocolFunction · 0.85
ap_switch_protocolFunction · 0.85
core_upgrade_handlerFunction · 0.85
http_protocol.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected