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

Function h2_ss_str

modules/http2/h2_stream.c:52–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51
52static const char *h2_ss_str(const h2_stream_state_t state)
53{
54 switch (state) {
55 case H2_SS_IDLE:
56 return "IDLE";
57 case H2_SS_RSVD_L:
58 return "RESERVED_LOCAL";
59 case H2_SS_RSVD_R:
60 return "RESERVED_REMOTE";
61 case H2_SS_OPEN:
62 return "OPEN";
63 case H2_SS_CLOSED_L:
64 return "HALF_CLOSED_LOCAL";
65 case H2_SS_CLOSED_R:
66 return "HALF_CLOSED_REMOTE";
67 case H2_SS_CLOSED:
68 return "CLOSED";
69 case H2_SS_CLEANUP:
70 return "CLEANUP";
71 default:
72 return "UNKNOWN";
73 }
74}
75
76const char *h2_stream_state_str(const h2_stream *stream)
77{

Callers 2

h2_stream_state_strFunction · 0.85
transitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected