Lines Matching refs:Http2SessionState
199 state_(Http2SessionState::DISCONNECTED),
269 state_ = Http2SessionState::DISCONNECTED;
328 state_ = Http2SessionState::RESOLVING_NAME;
376 if (state_ == Http2SessionState::DISCONNECTED ||
377 state_ == Http2SessionState::RESOLVING_NAME) {
390 if (!proxy.host.empty() && state_ == Http2SessionState::DISCONNECTED) {
441 state_ = Http2SessionState::PROXY_CONNECTING;
446 if (state_ == Http2SessionState::DISCONNECTED ||
447 state_ == Http2SessionState::PROXY_CONNECTED ||
448 state_ == Http2SessionState::RESOLVING_NAME) {
450 if (state_ != Http2SessionState::RESOLVING_NAME) {
457 if (state_ != Http2SessionState::RESOLVING_NAME) {
485 if (state_ == Http2SessionState::DISCONNECTED) {
492 if (state_ == Http2SessionState::RESOLVING_NAME) {
501 if (state_ == Http2SessionState::RESOLVING_NAME) {
507 state_ = Http2SessionState::DISCONNECTED;
512 // If state_ == Http2SessionState::PROXY_CONNECTED, we have
515 if (state_ == Http2SessionState::DISCONNECTED) {
550 if (state_ == Http2SessionState::DISCONNECTED) {
558 if (state_ == Http2SessionState::RESOLVING_NAME) {
567 if (state_ == Http2SessionState::RESOLVING_NAME) {
573 state_ = Http2SessionState::DISCONNECTED;
578 if (state_ == Http2SessionState::DISCONNECTED) {
614 if (state_ == Http2SessionState::PROXY_CONNECTED) {
623 state_ = Http2SessionState::CONNECTING;
651 http2session->set_state(Http2SessionState::PROXY_CONNECTED);
657 http2session->set_state(Http2SessionState::PROXY_FAILED);
668 case Http2SessionState::PROXY_CONNECTED:
674 case Http2SessionState::PROXY_FAILED:
759 assert(state_ == Http2SessionState::CONNECTED);
779 assert(state_ == Http2SessionState::CONNECTED);
797 assert(state_ == Http2SessionState::CONNECTED);
1666 state_ = Http2SessionState::CONNECTED;
1817 case Http2SessionState::DISCONNECTED:
1829 case Http2SessionState::CONNECTED:
1843 Http2SessionState Http2Session::get_state() const { return state_; }
1845 void Http2Session::set_state(Http2SessionState state) { state_ = state; }
1879 return state_ == Http2SessionState::CONNECTED &&
1885 if (state_ != Http2SessionState::CONNECTED ||
2001 if (state_ == Http2SessionState::PROXY_CONNECTING) {
2013 state_ = Http2SessionState::CONNECT_FAILING;
2115 state_ = Http2SessionState::CONNECT_FAILING;
2202 case Http2SessionState::PROXY_CONNECTING:
2203 case Http2SessionState::PROXY_FAILED:
2205 case Http2SessionState::DISCONNECTED: {
2375 case Http2SessionState::PROXY_CONNECTING: {
2380 case Http2SessionState::CONNECTING: