Lines Matching refs:stream_id
492 int32_t stream_id,
494 static int on_stream_close(nghttp2_session *session, int32_t stream_id,
1099 int32_t stream_id = frame->hd.stream_id; in on_stream_frame() local
1103 CURL_TRC_CF(data, cf, "[%d] No stream_ctx set", stream_id); in on_stream_frame()
1110 stream_id, in on_stream_frame()
1118 stream_id, NGHTTP2_PROTOCOL_ERROR); in on_stream_frame()
1162 stream_id); in on_stream_frame()
1198 stream_id, stream->status_code); in on_stream_frame()
1293 CURL_TRC_CF(data, cf, "[%d] -> %s", frame->hd.stream_id, buffer); in on_frame_send()
1305 int32_t stream_id = frame->hd.stream_id; in on_frame_recv() local
1314 CURL_TRC_CF(data, cf, "[%d] <- %s",frame->hd.stream_id, buffer); in on_frame_recv()
1318 if(!stream_id) { in on_frame_recv()
1368 data_s = nghttp2_session_get_stream_user_data(session, stream_id); in on_frame_recv()
1370 CURL_TRC_CF(data, cf, "[%d] No Curl_easy associated", stream_id); in on_frame_recv()
1378 int32_t stream_id, in on_data_chunk_recv() argument
1387 DEBUGASSERT(stream_id); /* should never be a zero stream ID here */ in on_data_chunk_recv()
1391 data_s = nghttp2_session_get_stream_user_data(session, stream_id); in on_data_chunk_recv()
1397 stream_id); in on_data_chunk_recv()
1399 nghttp2_session_consume(session, stream_id, len); in on_data_chunk_recv()
1409 nghttp2_session_consume(ctx->h2, stream_id, len); in on_data_chunk_recv()
1414 static int on_stream_close(nghttp2_session *session, int32_t stream_id, in on_stream_close() argument
1426 data_s = stream_id ? in on_stream_close()
1427 nghttp2_session_get_stream_user_data(session, stream_id) : NULL; in on_stream_close()
1430 "[%d] on_stream_close, no easy set on stream", stream_id); in on_stream_close()
1438 "[%d] on_stream_close, not a GOOD easy on stream", stream_id); in on_stream_close()
1439 (void)nghttp2_session_set_stream_user_data(session, stream_id, 0); in on_stream_close()
1445 "[%d] on_stream_close, GOOD easy but no stream", stream_id); in on_stream_close()
1457 stream_id, nghttp2_http2_strerror(error_code), error_code); in on_stream_close()
1459 CURL_TRC_CF(data_s, cf, "[%d] CLOSED", stream_id); in on_stream_close()
1463 rv = nghttp2_session_set_stream_user_data(session, stream_id, 0); in on_stream_close()
1466 stream_id); in on_stream_close()
1481 data_s = nghttp2_session_get_stream_user_data(session, frame->hd.stream_id); in on_begin_headers()
1509 int32_t stream_id = frame->hd.stream_id; in on_header() local
1513 DEBUGASSERT(stream_id); /* should never be a zero stream ID here */ in on_header()
1516 data_s = nghttp2_session_get_stream_user_data(session, stream_id); in on_header()
1550 stream_id, NGHTTP2_PROTOCOL_ERROR); in on_header()
1663 int32_t stream_id, in req_body_read_callback() argument
1678 if(!stream_id) in req_body_read_callback()
1683 data_s = nghttp2_session_get_stream_user_data(session, stream_id); in req_body_read_callback()
1701 stream_id, length, stream->body_eos, nread, result); in req_body_read_callback()
2169 int32_t stream_id; in h2_submit() local
2216 stream_id = nghttp2_submit_request(ctx->h2, &pri_spec, nva, nheader, in h2_submit()
2220 stream_id = nghttp2_submit_request(ctx->h2, &pri_spec, nva, nheader, in h2_submit()
2224 if(stream_id < 0) { in h2_submit()
2226 nghttp2_strerror(stream_id), stream_id); in h2_submit()
2237 stream_id, data->state.url); in h2_submit()
2241 infof(data, "[HTTP/2] [%d] [%.*s: %.*s]", stream_id, in h2_submit()
2253 stream->id = stream_id; in h2_submit()