MCPcopy Create free account
hub / github.com/apache/brpc / SetState

Method SetState

src/brpc/policy/http2_rpc_protocol.cpp:1190–1196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1188
1189#if defined(BRPC_H2_STREAM_STATE)
1190void H2StreamContext::SetState(H2StreamState state) {
1191 const H2StreamState old_state = _state;
1192 _state = state;
1193 RPC_VLOG << "stream_id=" << stream_id() << " changed from "
1194 << H2StreamState2Str(old_state) << " to "
1195 << H2StreamState2Str(state);
1196}
1197#endif
1198
1199bool H2StreamContext::ConsumeWindowSize(int64_t size) {

Callers

nothing calls this directly

Calls 1

H2StreamState2StrFunction · 0.85

Tested by

no test coverage detected