Lines Matching defs:stream_id
73 int32_t stream_id;
91 ts->stream_id = -1;
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);
148 CURL_TRC_CF(data, cf, "[%d] new tunnel state 'response'", ts->stream_id);
154 ts->stream_id);
161 CURL_TRC_CF(data, cf, "[%d] new tunnel state 'failed'", ts->stream_id);
226 tunnel->stream_id, bits);
305 int32_t stream_id,
314 int32_t stream_id,
654 CURL_TRC_CF(data, cf, "[%d] -> %s", frame->hd.stream_id, buffer);
667 int32_t stream_id = frame->hd.stream_id;
677 CURL_TRC_CF(data, cf, "[%d] <- %s",frame->hd.stream_id, buffer);
681 if(!stream_id) {
704 if(stream_id != ctx->tunnel.stream_id) {
705 CURL_TRC_CF(data, cf, "[%d] rcvd FRAME not for tunnel", stream_id);
718 stream_id, ctx->tunnel.resp->status);
746 int32_t stream_id = frame->hd.stream_id;
752 DEBUGASSERT(stream_id); /* should never be a zero stream ID here */
753 if(stream_id != ctx->tunnel.stream_id) {
755 "%.*s: %.*s", stream_id,
785 stream_id, ctx->tunnel.resp->status);
799 stream_id, (int)namelen, name, (int)valuelen, value);
805 int32_t stream_id,
822 if(!stream_id)
825 ts = nghttp2_session_get_stream_user_data(session, stream_id);
840 ts->stream_id, nread);
845 int32_t stream_id,
855 DEBUGASSERT(stream_id); /* should never be a zero stream ID here */
857 if(stream_id != ctx->tunnel.stream_id)
871 int32_t stream_id,
881 if(stream_id != ctx->tunnel.stream_id)
885 stream_id, nghttp2_http2_strerror(error_code), error_code);
904 int32_t stream_id = -1;
925 stream_id = nghttp2_submit_request(h2, pri_spec, nva, nheader,
929 stream_id = nghttp2_submit_request(h2, pri_spec, nva, nheader,
933 if(stream_id < 0) {
935 nghttp2_strerror(stream_id), stream_id);
944 *pstream_id = stream_id;
962 result = proxy_h2_submit(&ts->stream_id, cf, data, ctx->h2, req,
966 ts->stream_id, nghttp2_strerror(ts->stream_id));
1186 s_exhaust = ctx->tunnel.stream_id >= 0 &&
1188 ctx->h2, ctx->tunnel.stream_id);
1207 "connection", ctx->tunnel.stream_id);
1214 ctx->tunnel.stream_id, nghttp2_http2_strerror(ctx->tunnel.error),
1220 failf(data, "HTTP/2 stream %u was reset", ctx->tunnel.stream_id);
1228 ctx->tunnel.stream_id, rv, *err);
1253 (ctx->goaway && ctx->last_stream_id < ctx->tunnel.stream_id)) {
1265 ctx->tunnel.stream_id, len, nread, *err);
1294 ctx->tunnel.stream_id, nread);
1295 nghttp2_session_consume(ctx->h2, ctx->tunnel.stream_id, (size_t)nread);
1305 ctx->tunnel.stream_id);
1321 ctx->tunnel.stream_id, len, nread, *err);
1375 rv = nghttp2_session_resume_data(ctx->h2, ctx->tunnel.stream_id);
1413 ctx->h2, ctx->tunnel.stream_id);
1421 "window is exhausted", ctx->tunnel.stream_id);
1430 ctx->tunnel.stream_id, len,
1461 ctx->tunnel.stream_id, len, nwritten, *err,
1463 ctx->h2, ctx->tunnel.stream_id),