Lines Matching refs:state
61 H2_TUNNEL_INIT, /* init/default/no tunnel state */
76 h2_tunnel_state state;
90 ts->state = H2_TUNNEL_INIT;
115 ts->state = H2_TUNNEL_INIT;
125 if(ts->state == new_state)
128 switch(ts->state) {
138 CURL_TRC_CF(data, cf, "[%d] new tunnel state 'init'", ts->stream_id);
143 CURL_TRC_CF(data, cf, "[%d] new tunnel state 'connect'", ts->stream_id);
144 ts->state = H2_TUNNEL_CONNECT;
148 CURL_TRC_CF(data, cf, "[%d] new tunnel state 'response'", ts->stream_id);
149 ts->state = H2_TUNNEL_RESPONSE;
153 CURL_TRC_CF(data, cf, "[%d] new tunnel state 'established'",
156 data->state.authproxy.done = TRUE;
157 data->state.authproxy.multipass = FALSE;
161 CURL_TRC_CF(data, cf, "[%d] new tunnel state 'failed'", ts->stream_id);
162 ts->state = new_state;
166 Curl_safefree(data->state.aptr.proxyuserpwd);
224 if(data->state.select_bits != bits) {
227 data->state.select_bits = bits;
1028 switch(ts->state) {
1074 } while(ts->state == H2_TUNNEL_INIT);
1127 *done = (result == CURLE_OK) && (ts->state == H2_TUNNEL_ESTABLISHED);
1165 (ctx && ctx->tunnel.state == H2_TUNNEL_ESTABLISHED &&
1278 if(ctx->tunnel.state != H2_TUNNEL_ESTABLISHED) {
1302 * transfer state any longer and are unable to make this happen.
1337 if(ctx->tunnel.state != H2_TUNNEL_ESTABLISHED) {
1425 * We have unwritten state that needs us being invoked again and EAGAIN
1440 * closed, this is an error state for out transfer */