| 58 | BRPC_VALIDATE_GFLAG(h2_client_connection_window_size, CheckConnWindowSize); |
| 59 | |
| 60 | const char* H2StreamState2Str(H2StreamState s) { |
| 61 | switch (s) { |
| 62 | case H2_STREAM_IDLE: return "idle"; |
| 63 | case H2_STREAM_RESERVED_LOCAL: return "reserved(local)"; |
| 64 | case H2_STREAM_RESERVED_REMOTE: return "reserved(remote)"; |
| 65 | case H2_STREAM_OPEN: return "open"; |
| 66 | case H2_STREAM_HALF_CLOSED_LOCAL: return "half-closed(local)"; |
| 67 | case H2_STREAM_HALF_CLOSED_REMOTE: return "half-closed(remote)"; |
| 68 | case H2_STREAM_CLOSED: return "closed"; |
| 69 | } |
| 70 | return "unknown(H2StreamState)"; |
| 71 | } |
| 72 | |
| 73 | static const char* H2ConnectionState2Str(H2ConnectionState s) { |
| 74 | switch (s) { |
no outgoing calls
no test coverage detected