Home
last modified time | relevance | path

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

/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,
1030 def push(self, push_promise, handler): argument
1032 # push_promise accepted, fill in the handler with the stored
1033 # headers from the push_promise
[all …]
Dcnghttp2.pxd127 nghttp2_push_promise push_promise
/third_party/nghttp2/src/
Dapp_helper.cc324 frame->push_promise.padlen, frame->push_promise.promised_stream_id); in print_frame()
325 print_nv(frame->push_promise.nva, frame->push_promise.nvlen); in print_frame()
Dasio_server_http2_handler.h85 response *push_promise(boost::system::error_code &ec, stream &s,
Dasio_server_response_impl.cc123 return handler->push_promise(ec, *strm_, std::move(method), in push()
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()
Dasio_server_http2_handler.cc208 auto strm = handler->find_stream(frame->push_promise.promised_stream_id); in on_frame_send_callback()
432 response *http2_handler::push_promise(boost::system::error_code &ec, in push_promise() function in nghttp2::asio_http2::server::http2_handler
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()
Dshrpx_http2_session.cc949 auto promised_stream_id = frame->push_promise.promised_stream_id; 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()
1333 auto promised_stream_id = frame->push_promise.promised_stream_id; in on_frame_recv_callback()
Dshrpx_http2_upstream.cc700 auto promised_stream_id = frame->push_promise.promised_stream_id; in on_frame_send_callback()
730 for (size_t i = 0; i < frame->push_promise.nvlen; ++i) { in on_frame_send_callback()
731 auto &nv = frame->push_promise.nva[i]; in on_frame_send_callback()
DHttpServer.cc1606 auto promised_stream_id = frame->push_promise.promised_stream_id; in hd_on_frame_send_callback()
/third_party/nghttp2/tests/
Dnghttp2_test_helper.c70 rv = nghttp2_frame_unpack_push_promise_payload(&frame->push_promise, in unpack_frame()
240 nghttp2_frame_push_promise_init(&frame.push_promise, flags, stream_id, in pack_push_promise()
242 rv = nghttp2_frame_pack_push_promise(bufs, &frame.push_promise, deflater); in pack_push_promise()
244 nghttp2_frame_push_promise_free(&frame.push_promise, mem); in pack_push_promise()
Dnghttp2_session_test.c3616 nghttp2_frame_push_promise_init(&frame.push_promise, NGHTTP2_FLAG_END_HEADERS, in test_nghttp2_session_on_push_promise_received()
3632 frame.push_promise.promised_stream_id = 4; in test_nghttp2_session_on_push_promise_received()
3657 frame.push_promise.promised_stream_id = 6; in test_nghttp2_session_on_push_promise_received()
3675 frame.push_promise.promised_stream_id = 8; in test_nghttp2_session_on_push_promise_received()
3699 frame.push_promise.promised_stream_id = 2; in test_nghttp2_session_on_push_promise_received()
3723 frame.push_promise.promised_stream_id = 10; in test_nghttp2_session_on_push_promise_received()
3735 nghttp2_frame_push_promise_free(&frame.push_promise, mem); in test_nghttp2_session_on_push_promise_received()
3743 nghttp2_frame_push_promise_init(&frame.push_promise, NGHTTP2_FLAG_END_HEADERS, in test_nghttp2_session_on_push_promise_received()
3755 nghttp2_frame_push_promise_free(&frame.push_promise, mem); in test_nghttp2_session_on_push_promise_received()
3765 nghttp2_frame_push_promise_init(&frame.push_promise, NGHTTP2_FLAG_END_HEADERS, in test_nghttp2_session_on_push_promise_received()
[all …]
/third_party/nghttp2/lib/
Dnghttp2_outbound_item.c64 nghttp2_frame_push_promise_free(&frame->push_promise, mem); in nghttp2_outbound_item_free()
Dnghttp2_http.c506 nva = frame->push_promise.nva; in nghttp2_http_record_request_method()
507 nvlen = frame->push_promise.nvlen; in nghttp2_http_record_request_method()
Dnghttp2_session.c327 nghttp2_frame_push_promise_free(&iframe->frame.push_promise, mem); in session_inbound_frame_reset()
917 session, frame->push_promise.promised_stream_id, in nghttp2_session_add_item()
2240 session, frame->push_promise.nva, frame->push_promise.nvlen, 0); in session_prep_frame()
2247 &session->aob.framebufs, &frame->push_promise, &session->hd_deflater); in session_prep_frame()
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()
[all …]
Dnghttp2_submit.c360 nghttp2_frame_push_promise_init(&frame->push_promise, flags_copy, stream_id, in nghttp2_submit_push_promise()
366 nghttp2_frame_push_promise_free(&frame->push_promise, mem); in nghttp2_submit_push_promise()
/third_party/node/deps/nghttp2/lib/
Dnghttp2_outbound_item.c64 nghttp2_frame_push_promise_free(&frame->push_promise, mem); in nghttp2_outbound_item_free()
Dnghttp2_http.c506 nva = frame->push_promise.nva; in nghttp2_http_record_request_method()
507 nvlen = frame->push_promise.nvlen; in nghttp2_http_record_request_method()
Dnghttp2_session.c327 nghttp2_frame_push_promise_free(&iframe->frame.push_promise, mem); in session_inbound_frame_reset()
917 session, frame->push_promise.promised_stream_id, in nghttp2_session_add_item()
2240 session, frame->push_promise.nva, frame->push_promise.nvlen, 0); in session_prep_frame()
2247 &session->aob.framebufs, &frame->push_promise, &session->hd_deflater); in session_prep_frame()
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()
[all …]
Dnghttp2_submit.c360 nghttp2_frame_push_promise_init(&frame->push_promise, flags_copy, stream_id, in nghttp2_submit_push_promise()
366 nghttp2_frame_push_promise_free(&frame->push_promise, mem); in nghttp2_submit_push_promise()
/third_party/curl/lib/
Dhttp2.c550 static int push_promise(struct Curl_easy *data, in push_promise() function
778 rv = push_promise(data_s, conn, &frame->push_promise); in on_frame_recv()
783 frame->push_promise.promised_stream_id, in on_frame_recv()
/third_party/node/deps/nghttp2/lib/includes/nghttp2/
Dnghttp2.h1277 nghttp2_push_promise push_promise; member
/third_party/nghttp2/lib/includes/nghttp2/
Dnghttp2.h1281 nghttp2_push_promise push_promise; member
/third_party/node/src/
Dnode_http2.cc786 frame->push_promise.promised_stream_id : in GetFrameID()