Home
last modified time | relevance | path

Searched refs:promised_stream_id (Results 1 – 25 of 31) sorted by relevance

12

/third_party/nghttp2/src/
Dshrpx_http2_session.cc949 auto promised_stream_id = frame->push_promise.promised_stream_id; in on_header_callback2() local
951 nghttp2_session_get_stream_user_data(session, promised_stream_id)); in on_header_callback2()
953 http2session->submit_rst_stream(promised_stream_id, NGHTTP2_CANCEL); in on_header_callback2()
1011 stream_id = frame->push_promise.promised_stream_id; in on_invalid_header_callback2()
1054 auto promised_stream_id = frame->push_promise.promised_stream_id; in on_begin_headers_callback() local
1058 http2session->submit_rst_stream(promised_stream_id, NGHTTP2_CANCEL); in on_begin_headers_callback()
1068 promised_stream_id) != 0) { in on_begin_headers_callback()
1069 http2session->submit_rst_stream(promised_stream_id, NGHTTP2_CANCEL); in on_begin_headers_callback()
1333 auto promised_stream_id = frame->push_promise.promised_stream_id; in on_frame_recv_callback() local
1339 << ", promised_stream_id=" << promised_stream_id; in on_frame_recv_callback()
[all …]
Dshrpx_http2_upstream.cc700 auto promised_stream_id = frame->push_promise.promised_stream_id; in on_frame_send_callback() local
702 if (nghttp2_session_get_stream_user_data(session, promised_stream_id)) { in on_frame_send_callback()
709 upstream, handler->get_mcpool(), promised_stream_id); in on_frame_send_callback()
716 nghttp2_session_set_stream_user_data(session, promised_stream_id, in on_frame_send_callback()
2203 auto promised_stream_id = nghttp2_submit_push_promise( in submit_push_promise() local
2207 if (promised_stream_id < 0) { in submit_push_promise()
2210 << nghttp2_strerror(promised_stream_id); in submit_push_promise()
2212 if (nghttp2_is_fatal(promised_stream_id)) { in submit_push_promise()
2225 << promised_stream_id << "\n" in submit_push_promise()
2306 int32_t promised_stream_id) { in on_downstream_push_promise() argument
[all …]
Dshrpx_upstream.h95 int32_t promised_stream_id) = 0;
Dshrpx_https_upstream.h87 int32_t promised_stream_id);
Dasio_client_session_impl.cc177 sess->create_push_stream(frame->push_promise.promised_stream_id); in on_begin_headers_callback()
229 strm = sess->find_stream(frame->push_promise.promised_stream_id); in on_header_callback()
323 auto push_strm = sess->find_stream(frame->push_promise.promised_stream_id); in on_frame_recv_callback()
Dshrpx_http2_upstream.h92 int32_t promised_stream_id);
DHttpServer.cc1013 auto promised_stream_id = nghttp2_submit_push_promise( in submit_push_promise() local
1017 if (promised_stream_id < 0) { in submit_push_promise()
1018 return promised_stream_id; in submit_push_promise()
1021 auto promised_stream = std::make_unique<Stream>(this, promised_stream_id); in submit_push_promise()
1030 add_stream(promised_stream_id, std::move(promised_stream)); in submit_push_promise()
1606 auto promised_stream_id = frame->push_promise.promised_stream_id; in hd_on_frame_send_callback() local
1607 auto promised_stream = hd->get_stream(promised_stream_id); in hd_on_frame_send_callback()
Dshrpx_http2_session.h199 int32_t promised_stream_id);
Dnghttp.cc1855 auto stream_id = frame->push_promise.promised_stream_id; in on_begin_headers_callback()
1920 session, frame->push_promise.promised_stream_id)); in on_header_callback()
1928 frame->push_promise.promised_stream_id, in on_header_callback()
2018 session, frame->push_promise.promised_stream_id)); in on_frame_recv_callback2()
2038 frame->push_promise.promised_stream_id, in on_frame_recv_callback2()
2049 frame->push_promise.promised_stream_id, in on_frame_recv_callback2()
2058 frame->push_promise.promised_stream_id, in on_frame_recv_callback2()
Dapp_helper.cc324 frame->push_promise.padlen, frame->push_promise.promised_stream_id); in print_frame()
Dasio_server_http2_handler.cc208 auto strm = handler->find_stream(frame->push_promise.promised_stream_id); in on_frame_send_callback()
/third_party/node/deps/nghttp2/lib/
Dnghttp2_submit.c318 int32_t promised_stream_id; in nghttp2_submit_push_promise() local
357 promised_stream_id = (int32_t)session->next_stream_id; in nghttp2_submit_push_promise()
361 promised_stream_id, nva_copy, nvlen); in nghttp2_submit_push_promise()
372 return promised_stream_id; in nghttp2_submit_push_promise()
Dnghttp2_frame.c115 int32_t promised_stream_id, in nghttp2_frame_push_promise_init() argument
121 frame->promised_stream_id = promised_stream_id; in nghttp2_frame_push_promise_init()
562 nghttp2_put_uint32be(buf->pos, (uint32_t)frame->promised_stream_id); in nghttp2_frame_pack_push_promise()
572 frame->promised_stream_id = in nghttp2_frame_unpack_push_promise_payload()
Dnghttp2_frame.h454 int32_t promised_stream_id,
Dnghttp2_session.c917 session, frame->push_promise.promised_stream_id, in nghttp2_session_add_item()
2257 frame->push_promise.promised_stream_id); in session_prep_frame()
2258 session->last_sent_stream_id = frame->push_promise.promised_stream_id; in session_prep_frame()
2980 opened_stream_id = item->frame.push_promise.promised_stream_id; in nghttp2_session_mem_send_internal()
3055 opened_stream_id = item->frame.push_promise.promised_stream_id; in nghttp2_session_mem_send_internal()
3593 session, frame->push_promise.promised_stream_id); in inflate_header_block()
3763 session, frame->push_promise.promised_stream_id); in session_after_header_block_received()
3796 stream_id = frame->push_promise.promised_stream_id; in session_after_header_block_received()
4629 frame->push_promise.promised_stream_id)) { in nghttp2_session_on_push_promise_received()
4643 session->last_recv_stream_id = frame->push_promise.promised_stream_id; in nghttp2_session_on_push_promise_received()
[all …]
/third_party/nghttp2/lib/
Dnghttp2_submit.c318 int32_t promised_stream_id; in nghttp2_submit_push_promise() local
357 promised_stream_id = (int32_t)session->next_stream_id; in nghttp2_submit_push_promise()
361 promised_stream_id, nva_copy, nvlen); in nghttp2_submit_push_promise()
372 return promised_stream_id; in nghttp2_submit_push_promise()
Dnghttp2_frame.c115 int32_t promised_stream_id, in nghttp2_frame_push_promise_init() argument
121 frame->promised_stream_id = promised_stream_id; in nghttp2_frame_push_promise_init()
562 nghttp2_put_uint32be(buf->pos, (uint32_t)frame->promised_stream_id); in nghttp2_frame_pack_push_promise()
572 frame->promised_stream_id = in nghttp2_frame_unpack_push_promise_payload()
Dnghttp2_frame.h454 int32_t promised_stream_id,
Dnghttp2_session.c917 session, frame->push_promise.promised_stream_id, in nghttp2_session_add_item()
2257 frame->push_promise.promised_stream_id); in session_prep_frame()
2258 session->last_sent_stream_id = frame->push_promise.promised_stream_id; in session_prep_frame()
2980 opened_stream_id = item->frame.push_promise.promised_stream_id; in nghttp2_session_mem_send_internal()
3055 opened_stream_id = item->frame.push_promise.promised_stream_id; in nghttp2_session_mem_send_internal()
3593 session, frame->push_promise.promised_stream_id); in inflate_header_block()
3763 session, frame->push_promise.promised_stream_id); in session_after_header_block_received()
3796 stream_id = frame->push_promise.promised_stream_id; in session_after_header_block_received()
4629 frame->push_promise.promised_stream_id)) { in nghttp2_session_on_push_promise_received()
4643 session->last_recv_stream_id = frame->push_promise.promised_stream_id; in nghttp2_session_on_push_promise_received()
[all …]
/third_party/nghttp2/python/
Dnghttp2.pyx369 handler = _get_stream_user_data(session, frame.push_promise.promised_stream_id)
487 (session, frame.push_promise.promised_stream_id)
515 (session, frame.push_promise.promised_stream_id)
587 http2._add_handler(push_handler, frame.push_promise.promised_stream_id)
588 … cnghttp2.nghttp2_session_set_stream_user_data(session, frame.push_promise.promised_stream_id,
635 push_handler = _get_stream_user_data(session, frame.push_promise.promised_stream_id)
640 … cnghttp2.nghttp2_session_set_stream_user_data(session, frame.push_promise.promised_stream_id,
901 cdef int32_t promised_stream_id
908 promised_stream_id = cnghttp2.nghttp2_submit_push_promise\
914 if promised_stream_id < 0:
[all …]
Dcnghttp2.pxd113 int32_t promised_stream_id
/third_party/nghttp2/tests/
Dnghttp2_test_helper.c232 int32_t promised_stream_id, const nghttp2_nv *nva, in pack_push_promise() argument
241 promised_stream_id, dnva, nvlen); in pack_push_promise()
Dnghttp2_test_helper.h90 int32_t promised_stream_id, const nghttp2_nv *nva,
Dnghttp2_frame_test.c346 CU_ASSERT((1U << 31) - 1 == oframe.promised_stream_id); in test_nghttp2_frame_pack_push_promise()
/third_party/curl/lib/
Dhttp2.c556 frame->promised_stream_id)); in push_promise()
615 newstream->stream_id = frame->promised_stream_id; in push_promise()
633 frame->promised_stream_id, in push_promise()
637 frame->promised_stream_id); in push_promise()
783 frame->push_promise.promised_stream_id, in on_frame_recv()

12