Lines Matching refs:data_s
1304 struct Curl_easy *data = CF_DATA_CURRENT(cf), *data_s; in on_frame_recv()
1368 data_s = nghttp2_session_get_stream_user_data(session, stream_id); in on_frame_recv()
1369 if(!data_s) { in on_frame_recv()
1374 return on_stream_frame(cf, data_s, frame) ? NGHTTP2_ERR_CALLBACK_FAILURE : 0; in on_frame_recv()
1384 struct Curl_easy *data_s; in on_data_chunk_recv() local
1391 data_s = nghttp2_session_get_stream_user_data(session, stream_id); in on_data_chunk_recv()
1392 if(!data_s) { in on_data_chunk_recv()
1403 stream = H2_STREAM_CTX(ctx, data_s); in on_data_chunk_recv()
1407 h2_xfer_write_resp(cf, data_s, stream, (char *)mem, len, FALSE); in on_data_chunk_recv()
1419 struct Curl_easy *data_s, *call_data = CF_DATA_CURRENT(cf); in on_stream_close() local
1426 data_s = stream_id ? in on_stream_close()
1428 if(!data_s) { in on_stream_close()
1433 if(!GOOD_EASY_HANDLE(data_s)) { in on_stream_close()
1442 stream = H2_STREAM_CTX(ctx, data_s); in on_stream_close()
1444 CURL_TRC_CF(data_s, cf, in on_stream_close()
1456 CURL_TRC_CF(data_s, cf, "[%d] RESET: %s (err %d)", in on_stream_close()
1459 CURL_TRC_CF(data_s, cf, "[%d] CLOSED", stream_id); in on_stream_close()
1460 drain_stream(cf, data_s, stream); in on_stream_close()
1465 infof(data_s, "http/2: failed to clear user_data for stream %u", in on_stream_close()
1478 struct Curl_easy *data_s = NULL; in on_begin_headers() local
1481 data_s = nghttp2_session_get_stream_user_data(session, frame->hd.stream_id); in on_begin_headers()
1482 if(!data_s) { in on_begin_headers()
1490 stream = H2_STREAM_CTX(ctx, data_s); in on_begin_headers()
1508 struct Curl_easy *data_s; in on_header() local
1516 data_s = nghttp2_session_get_stream_user_data(session, stream_id); in on_header()
1517 if(!data_s) in on_header()
1522 stream = H2_STREAM_CTX(ctx, data_s); in on_header()
1524 failf(data_s, "Internal NULL stream"); in on_header()
1571 failf(data_s, "Too many PUSH_PROMISE headers"); in on_header()
1592 CURL_TRC_CF(data_s, cf, "[%d] trailer: %.*s: %.*s", in on_header()
1613 result = Curl_headers_push(data_s, buffer, CURLH_PSEUDO); in on_header()
1623 h2_xfer_write_resp_hd(cf, data_s, stream, Curl_dyn_ptr(&ctx->scratch), in on_header()
1628 if(CF_DATA_CURRENT(cf) != data_s) in on_header()
1629 Curl_expire(data_s, 0, EXPIRE_RUN_NOW); in on_header()
1631 CURL_TRC_CF(data_s, cf, "[%d] status: HTTP/2 %03d", in on_header()
1648 h2_xfer_write_resp_hd(cf, data_s, stream, Curl_dyn_ptr(&ctx->scratch), in on_header()
1653 if(CF_DATA_CURRENT(cf) != data_s) in on_header()
1654 Curl_expire(data_s, 0, EXPIRE_RUN_NOW); in on_header()
1656 CURL_TRC_CF(data_s, cf, "[%d] header: %.*s: %.*s", in on_header()
1671 struct Curl_easy *data_s; in req_body_read_callback() local
1683 data_s = nghttp2_session_get_stream_user_data(session, stream_id); in req_body_read_callback()
1684 if(!data_s) in req_body_read_callback()
1689 stream = H2_STREAM_CTX(ctx, data_s); in req_body_read_callback()
1700 CURL_TRC_CF(data_s, cf, "[%d] req_body_read(len=%zu) eos=%d -> %zd, %d", in req_body_read_callback()