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

Function policy_str

modules/http2/h2_push.c:46–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 ******************************************************************************/
45
46static const char *policy_str(h2_push_policy policy)
47{
48 switch (policy) {
49 case H2_PUSH_NONE:
50 return "none";
51 case H2_PUSH_FAST_LOAD:
52 return "fast-load";
53 case H2_PUSH_HEAD:
54 return "head";
55 default:
56 return "default";
57 }
58}
59
60typedef struct {
61 const h2_request *req;

Callers 1

h2_push_collectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected