Lines Matching refs:id
216 int32_t id; /* HTTP/2 protocol identifier for stream */ member
238 stream->id = -1; in h2_stream_ctx_create()
305 ctx->h2, stream->id); in cf_h2_update_local_win()
308 stream->id, dwsize - wsize); in cf_h2_update_local_win()
311 "%s(%d)", stream->id, nghttp2_strerror(rv), rv); in cf_h2_update_local_win()
316 stream->id, dwsize - wsize); in cf_h2_update_local_win()
320 stream->id, dwsize); in cf_h2_update_local_win()
323 "%s(%d)", stream->id, nghttp2_strerror(rv), rv); in cf_h2_update_local_win()
328 stream->id, dwsize); in cf_h2_update_local_win()
365 stream->id, bits); in drain_stream()
411 (void)nghttp2_session_set_stream_user_data(ctx->h2, stream->id, NULL); in http2_data_done()
413 if(!stream->closed && stream->id > 0) { in http2_data_done()
416 stream->id); in http2_data_done()
420 stream->id, NGHTTP2_STREAM_CLOSED); in http2_data_done()
566 stream->id = 1; in cf_h2_ctx_open()
578 rc = nghttp2_session_set_stream_user_data(ctx->h2, stream->id, in cf_h2_ctx_open()
582 stream->id); in cf_h2_ctx_open()
1017 newstream->id = frame->promised_stream_id; in push_promise()
1032 newstream->id, in push_promise()
1036 newstream->id); in push_promise()
1043 if(newstream->id > ctx->local_max_sid) in push_promise()
1044 ctx->local_max_sid = newstream->id; in push_promise()
1067 stream->id, stream->xfer_result, blen); in h2_xfer_write_resp_hd()
1087 stream->id, stream->xfer_result, blen); in h2_xfer_write_resp()
1088 nghttp2_submit_rst_stream(ctx->h2, 0, stream->id, in h2_xfer_write_resp()
1112 ctx->h2, stream->id), in on_stream_frame()
1114 ctx->h2, stream->id)); in on_stream_frame()
1181 rv = nghttp2_session_resume_data(ctx->h2, stream->id); in on_stream_frame()
1200 stream->id, NGHTTP2_STREAM_CLOSED); in on_stream_frame()
1593 stream->id, (int)namelen, name, (int)valuelen, value); in on_header()
1632 stream->id, stream->status_code); in on_header()
1657 stream->id, (int)namelen, name, (int)valuelen, value); in on_header()
1773 "connection", stream->id); in http2_handle_stream_close()
1783 stream->id, nghttp2_http2_strerror(stream->error), in http2_handle_stream_close()
1790 stream->id, nghttp2_http2_strerror(stream->error), in http2_handle_stream_close()
1796 failf(data, "HTTP/2 stream %u was reset", stream->id); in http2_handle_stream_close()
1804 stream->id); in http2_handle_stream_close()
1873 int32_t depstream_id = depstream ? depstream->id : 0; in h2_pri_spec()
1893 if(stream && stream->id > 0 && in h2_progress_egress()
1901 CURL_TRC_CF(data, cf, "[%d] Queuing PRIORITY", stream->id); in h2_progress_egress()
1902 DEBUGASSERT(stream->id != -1); in h2_progress_egress()
1904 stream->id, &pri_spec); in h2_progress_egress()
1937 CURL_TRC_CF(data, cf, "[%d] xfer write failed", stream->id); in stream_recv()
1942 CURL_TRC_CF(data, cf, "[%d] returning CLOSE", stream->id); in stream_recv()
1947 (ctx->rcvd_goaway && ctx->remote_max_sid < stream->id)) { in stream_recv()
1948 CURL_TRC_CF(data, cf, "[%d] returning ERR", stream->id); in stream_recv()
1955 stream->id, len, nread, *err); in stream_recv()
2073 nghttp2_session_consume(ctx->h2, stream->id, data_consumed); in cf_h2_recv()
2078 CURL_TRC_CF(data, cf, "[%d] DRAIN closed stream", stream->id); in cf_h2_recv()
2098 stream->id, len, nread, *err, in cf_h2_recv()
2100 ctx->h2, stream->id), in cf_h2_recv()
2102 ctx->h2, stream->id), in cf_h2_recv()
2127 "on closed stream with response", stream->id); in cf_h2_body_send()
2134 infof(data, "stream %u closed", stream->id); in cf_h2_body_send()
2148 int rv = nghttp2_session_resume_data(ctx->h2, stream->id); in cf_h2_body_send()
2253 stream->id = stream_id; in h2_submit()
2273 stream ? stream->id : -1, nwritten, *err); in h2_submit()
2292 if(!stream || stream->id == -1) { in cf_h2_send()
2307 stream->id, nwritten, *err, eos); in cf_h2_send()
2316 stream->id, len, nwritten, *err, eos); in cf_h2_send()
2326 infof(data, "stream %u closed", stream->id); in cf_h2_send()
2355 stream->id, len, nwritten, *err, in cf_h2_send()
2358 ctx->h2, stream->id), in cf_h2_send()
2385 int rv = nghttp2_session_resume_data(ctx->h2, stream->id); in cf_h2_flush()
2399 stream->id, result, in cf_h2_flush()
2401 ctx->h2, stream->id), in cf_h2_flush()
2436 s_exhaust = want_send && stream && stream->id >= 0 && in cf_h2_adjust_pollset()
2438 stream->id); in cf_h2_adjust_pollset()
2616 CURL_TRC_CF(data, cf, "[%d] stream now %spaused", stream->id, in http2_data_pause()