MCPcopy Create free account
hub / github.com/apache/trafficserver / is_state_writeable

Method is_state_writeable

include/proxy/http2/Http2Stream.h:414–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414inline bool
415Http2Stream::is_state_writeable() const
416{
417 return _state == Http2StreamState::HTTP2_STREAM_STATE_OPEN || _state == Http2StreamState::HTTP2_STREAM_STATE_HALF_CLOSED_REMOTE ||
418 _state == Http2StreamState::HTTP2_STREAM_STATE_RESERVED_LOCAL ||
419 (this->is_outbound_connection() && _state == Http2StreamState::HTTP2_STREAM_STATE_IDLE);
420}
421
422inline bool
423Http2Stream::is_closed() const

Callers 4

do_io_writeMethod · 0.95
do_io_closeMethod · 0.95
initiating_closeMethod · 0.95
update_write_requestMethod · 0.95

Calls 1

Tested by

no test coverage detected