Home
last modified time | relevance | path

Searched refs:data_prd (Results 1 – 20 of 20) sorted by relevance

/third_party/node/deps/nghttp2/lib/
Dnghttp2_submit.c71 const nghttp2_data_provider *data_prd, in submit_headers_shared() argument
90 if (data_prd != NULL && data_prd->read_callback != NULL) { in submit_headers_shared()
91 item->aux_data.headers.data_prd = *data_prd; in submit_headers_shared()
146 const nghttp2_data_provider *data_prd, in submit_headers_shared_nva() argument
168 nva_copy, nvlen, data_prd, stream_user_data); in submit_headers_shared_nva()
668 const nghttp2_data_provider *data_prd) { in set_request_flags() argument
670 if (data_prd == NULL || data_prd->read_callback == NULL) { in set_request_flags()
684 const nghttp2_data_provider *data_prd, in nghttp2_submit_request() argument
702 flags = set_request_flags(pri_spec, data_prd); in nghttp2_submit_request()
705 data_prd, stream_user_data); in nghttp2_submit_request()
[all …]
Dnghttp2_outbound_item.h38 nghttp2_data_provider data_prd; member
53 nghttp2_data_provider data_prd; member
Dnghttp2_session.c2632 if (aux_data->data_prd.read_callback) { in session_after_frame_sent1()
2635 frame->hd.stream_id, &aux_data->data_prd); in session_after_frame_sent1()
2661 if (aux_data->data_prd.read_callback) { in session_after_frame_sent1()
2663 frame->hd.stream_id, &aux_data->data_prd); in session_after_frame_sent1()
2888 &aux_data->data_prd.source, in session_call_send_data()
7173 payloadlen = aux_data->data_prd.read_callback( in nghttp2_session_pack_data()
7175 &aux_data->data_prd.source, session->user_data); in nghttp2_session_pack_data()
/third_party/nghttp2/lib/
Dnghttp2_submit.c71 const nghttp2_data_provider *data_prd, in submit_headers_shared() argument
90 if (data_prd != NULL && data_prd->read_callback != NULL) { in submit_headers_shared()
91 item->aux_data.headers.data_prd = *data_prd; in submit_headers_shared()
146 const nghttp2_data_provider *data_prd, in submit_headers_shared_nva() argument
168 nva_copy, nvlen, data_prd, stream_user_data); in submit_headers_shared_nva()
743 const nghttp2_data_provider *data_prd) { in set_request_flags() argument
745 if (data_prd == NULL || data_prd->read_callback == NULL) { in set_request_flags()
759 const nghttp2_data_provider *data_prd, in nghttp2_submit_request() argument
778 flags = set_request_flags(pri_spec, data_prd); in nghttp2_submit_request()
781 data_prd, stream_user_data); in nghttp2_submit_request()
[all …]
Dnghttp2_outbound_item.h38 nghttp2_data_provider data_prd; member
53 nghttp2_data_provider data_prd; member
Dnghttp2_session.c3007 if (aux_data->data_prd.read_callback) { in session_after_frame_sent1()
3010 frame->hd.stream_id, &aux_data->data_prd); in session_after_frame_sent1()
3036 if (aux_data->data_prd.read_callback) { in session_after_frame_sent1()
3038 frame->hd.stream_id, &aux_data->data_prd); in session_after_frame_sent1()
3262 &aux_data->data_prd.source, in session_call_send_data()
7796 payloadlen = aux_data->data_prd.read_callback( in nghttp2_session_pack_data()
7798 &aux_data->data_prd.source, session->user_data); in nghttp2_session_pack_data()
/third_party/nghttp2/src/
DHttpServer.cc931 nghttp2_data_provider *data_prd) { in submit_file_response() argument
957 data_prd); in submit_file_response()
962 nghttp2_data_provider *data_prd) { in submit_response() argument
969 if (data_prd) { in submit_response()
980 data_prd); in submit_response()
985 nghttp2_data_provider *data_prd) { in submit_response() argument
992 if (data_prd) { in submit_response()
1000 data_prd); in submit_response()
1141 nghttp2_data_provider data_prd; in prepare_status_response() local
1142 data_prd.source.fd = file_ent->fd; in prepare_status_response()
[all …]
DHttpServer.h174 nghttp2_data_provider *data_prd);
177 nghttp2_data_provider *data_prd);
181 nghttp2_data_provider *data_prd);
Dnghttp.h140 const nghttp2_data_provider *data_prd, int64_t data_length,
183 const nghttp2_data_provider *data_prd; member
249 const nghttp2_data_provider *data_prd, int64_t data_length,
Dnghttp.cc160 const nghttp2_data_provider *data_prd, int64_t data_length, in Request() argument
169 data_prd(data_prd), in Request()
374 req->stream_id, req->data_prd); in continue_timeout_cb()
456 auto build_headers = Headers{{":method", req->data_prd ? "POST" : "GET"}, in submit_request()
474 if (req->data_prd) { in submit_request()
530 nva.size(), req->data_prd, req); in submit_request()
981 if (reqvec[0]->data_prd) { in on_upgrade_connect()
1042 if (!reqvec[0]->data_prd) { in on_upgrade_connect()
1164 if (!reqvec[0]->data_prd) { in connection_made()
1214 if (need_upgrade() && !reqvec[0]->data_prd) { in connection_made()
[all …]
Dshrpx_http2_upstream.cc1511 nghttp2_data_provider data_prd, *data_prd_ptr = nullptr; in send_reply() local
1514 data_prd.source.ptr = downstream; in send_reply()
1515 data_prd.read_callback = downstream_data_read_callback; in send_reply()
1516 data_prd_ptr = &data_prd; in send_reply()
1592 nghttp2_data_provider data_prd; in error_reply() local
1593 data_prd.source.ptr = downstream; in error_reply()
1594 data_prd.read_callback = downstream_data_read_callback; in error_reply()
1611 nva.data(), nva.size(), &data_prd); in error_reply()
1861 nghttp2_data_provider data_prd; in on_downstream_header_complete() local
1862 data_prd.source.ptr = downstream; in on_downstream_header_complete()
[all …]
Dshrpx_http2_downstream_connection.cc480 nghttp2_data_provider data_prd; in push_request_headers() local
487 data_prd = {{}, http2_data_read_callback}; in push_request_headers()
488 data_prdptr = &data_prd; in push_request_headers()
Dshrpx_http2_session.h119 size_t nvlen, const nghttp2_data_provider *data_prd);
Dshrpx_http2_session.cc758 const nghttp2_data_provider *data_prd) { in submit_request() argument
764 nghttp2_submit_request(session_, nullptr, nva, nvlen, data_prd, sd.get()); in submit_request()
/third_party/nghttp2/tests/
Dfailmalloc_test.c132 nghttp2_data_provider data_prd; in run_nghttp2_session_send() local
139 data_prd.read_callback = fixed_length_data_source_read_callback; in run_nghttp2_session_send()
152 rv = nghttp2_submit_request(session, NULL, nv, ARRLEN(nv), &data_prd, NULL); in run_nghttp2_session_send()
172 rv = nghttp2_submit_data(session, NGHTTP2_FLAG_END_STREAM, 3, &data_prd); in run_nghttp2_session_send()
Dnghttp2_session_test.c5201 nghttp2_data_provider data_prd; in test_nghttp2_submit_data() local
5212 data_prd.read_callback = fixed_length_data_source_read_callback; in test_nghttp2_submit_data()
5221 0 == nghttp2_submit_data(session, NGHTTP2_FLAG_END_STREAM, 1, &data_prd)); in test_nghttp2_submit_data()
5241 nghttp2_data_provider data_prd; in test_nghttp2_submit_data_read_length_too_large() local
5254 data_prd.read_callback = fixed_length_data_source_read_callback; in test_nghttp2_submit_data_read_length_too_large()
5263 0 == nghttp2_submit_data(session, NGHTTP2_FLAG_END_STREAM, 1, &data_prd)); in test_nghttp2_submit_data_read_length_too_large()
5290 0 == nghttp2_submit_data(session, NGHTTP2_FLAG_END_STREAM, 1, &data_prd)); in test_nghttp2_submit_data_read_length_too_large()
5321 nghttp2_data_provider data_prd; in test_nghttp2_submit_data_read_length_smallest() local
5333 data_prd.read_callback = fixed_length_data_source_read_callback; in test_nghttp2_submit_data_read_length_smallest()
5342 0 == nghttp2_submit_data(session, NGHTTP2_FLAG_END_STREAM, 1, &data_prd)); in test_nghttp2_submit_data_read_length_smallest()
[all …]
/third_party/nghttp2/examples/
Dlibevent-server.c426 nghttp2_data_provider data_prd; in send_response() local
427 data_prd.source.fd = fd; in send_response()
428 data_prd.read_callback = file_read_callback; in send_response()
430 rv = nghttp2_submit_response(session, stream_id, nva, nvlen, &data_prd); in send_response()
/third_party/node/deps/nghttp2/lib/includes/nghttp2/
Dnghttp2.h3863 const nghttp2_nv *nva, size_t nvlen, const nghttp2_data_provider *data_prd,
3933 const nghttp2_data_provider *data_prd);
4125 const nghttp2_data_provider *data_prd);
/third_party/nghttp2/lib/includes/nghttp2/
Dnghttp2.h3986 const nghttp2_nv *nva, size_t nvlen, const nghttp2_data_provider *data_prd,
4056 const nghttp2_data_provider *data_prd);
4254 const nghttp2_data_provider *data_prd);
/third_party/nghttp2/doc/sources/
Dtutorial-server.rst560 nghttp2_data_provider data_prd;
561 data_prd.source.fd = fd;
562 data_prd.read_callback = file_read_callback;
564 rv = nghttp2_submit_response(session, stream_id, nva, nvlen, &data_prd);