/third_party/nghttp2/lib/ |
H A D | nghttp2_submit.c | 37 * itself. If |stream_id| is -1, we use session->next_stream_id as 51 if ((int32_t)session->next_stream_id == pri_spec->stream_id) { in detect_self_dependency() 101 if (session->next_stream_id > INT32_MAX) { in submit_headers_shared() 106 stream_id = (int32_t)session->next_stream_id; in submit_headers_shared() 107 session->next_stream_id += 2; in submit_headers_shared() 339 if (session->next_stream_id > INT32_MAX) { in nghttp2_submit_push_promise() 362 promised_stream_id = (int32_t)session->next_stream_id; in nghttp2_submit_push_promise() 363 session->next_stream_id += 2; in nghttp2_submit_push_promise()
|
H A D | nghttp2_session.h | 304 uint32_t next_stream_id; member
|
H A D | nghttp2_session.c | 457 /* next_stream_id is initialized in either in session_new() 690 session->next_stream_id = 1; in nghttp2_session_client_new3() 724 session->next_stream_id = 2; in nghttp2_session_server_new3() 1231 if ((uint32_t)stream_id >= session->next_stream_id) { in nghttp2_session_add_rst_stream() 1793 return !session->server && session->next_stream_id <= INT32_MAX && in nghttp2_session_check_request_allowed() 7818 (uint32_t)stream_id >= session->next_stream_id) { in nghttp2_session_set_stream_user_data() 8001 if ((!session->server && session->next_stream_id != 1) || in nghttp2_session_upgrade_internal() 8052 session->next_stream_id += 2; in nghttp2_session_upgrade_internal() 8214 int32_t next_stream_id) { in nghttp2_session_set_next_stream_id() 8215 if (next_stream_id < in nghttp2_session_set_next_stream_id() 8213 nghttp2_session_set_next_stream_id(nghttp2_session *session, int32_t next_stream_id) nghttp2_session_set_next_stream_id() argument [all...] |
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_submit.c | 37 * itself. If |stream_id| is -1, we use session->next_stream_id as 51 if ((int32_t)session->next_stream_id == pri_spec->stream_id) { in detect_self_dependency() 101 if (session->next_stream_id > INT32_MAX) { in submit_headers_shared() 106 stream_id = (int32_t)session->next_stream_id; in submit_headers_shared() 107 session->next_stream_id += 2; in submit_headers_shared() 339 if (session->next_stream_id > INT32_MAX) { in nghttp2_submit_push_promise() 362 promised_stream_id = (int32_t)session->next_stream_id; in nghttp2_submit_push_promise() 363 session->next_stream_id += 2; in nghttp2_submit_push_promise()
|
H A D | nghttp2_session.h | 294 uint32_t next_stream_id; member
|
H A D | nghttp2_session.c | 457 /* next_stream_id is initialized in either in session_new() 685 session->next_stream_id = 1; in nghttp2_session_client_new3() 719 session->next_stream_id = 2; in nghttp2_session_server_new3() 1226 if ((uint32_t)stream_id >= session->next_stream_id) { in nghttp2_session_add_rst_stream() 1788 return !session->server && session->next_stream_id <= INT32_MAX && in nghttp2_session_check_request_allowed() 7807 (uint32_t)stream_id >= session->next_stream_id) { in nghttp2_session_set_stream_user_data() 7990 if ((!session->server && session->next_stream_id != 1) || in nghttp2_session_upgrade_internal() 8041 session->next_stream_id += 2; in nghttp2_session_upgrade_internal() 8203 int32_t next_stream_id) { in nghttp2_session_set_next_stream_id() 8204 if (next_stream_id < in nghttp2_session_set_next_stream_id() 8202 nghttp2_session_set_next_stream_id(nghttp2_session *session, int32_t next_stream_id) nghttp2_session_set_next_stream_id() argument [all...] |
/third_party/nghttp2/tests/ |
H A D | nghttp2_test_helper.c | 349 session->next_stream_id = in open_sent_stream3() 350 nghttp2_max(session->next_stream_id, (uint32_t)stream_id + 2); in open_sent_stream3() 374 session->next_stream_id = in open_sent_stream_with_dep_weight() 375 nghttp2_max(session->next_stream_id, (uint32_t)stream_id + 2); in open_sent_stream_with_dep_weight()
|
H A D | nghttp2_session_test.c | 3198 (int32_t)session->next_stream_id, NGHTTP2_HCAT_REQUEST, NULL, nva, nvlen); in test_nghttp2_session_add_frame() 3200 session->next_stream_id += 2; in test_nghttp2_session_add_frame() 3346 session->next_stream_id = 5; in test_nghttp2_session_on_request_headers_received() 4665 (int32_t)session->next_stream_id, in test_nghttp2_session_send_headers_start_stream() 4667 session->next_stream_id += 2; in test_nghttp2_session_send_headers_start_stream() 4750 (int32_t)session->next_stream_id, in test_nghttp2_session_send_headers_frame_size_error() 4753 session->next_stream_id += 2; in test_nghttp2_session_send_headers_frame_size_error() 4861 (int32_t)session->next_stream_id, NULL, 0); in test_nghttp2_session_send_push_promise() 4863 session->next_stream_id += 2; in test_nghttp2_session_send_push_promise() 5535 nghttp2_priority_spec_init(&pri_spec, (int32_t)session->next_stream_id, 1 in test_nghttp2_submit_request_without_data() [all...] |
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_conn.h | 521 /* next_stream_id is the bidirectional stream ID which the local 523 int64_t next_stream_id; member 530 /* next_stream_id is the unidirectional stream ID which the 532 int64_t next_stream_id; member
|
H A D | ngtcp2_conn.c | 1403 (*pconn)->local.bidi.next_stream_id = 0; in ngtcp2_conn_client_new_versioned() 1404 (*pconn)->local.uni.next_stream_id = 2; in ngtcp2_conn_client_new_versioned() 1432 (*pconn)->local.bidi.next_stream_id = 1; in ngtcp2_conn_server_new_versioned() 1433 (*pconn)->local.uni.next_stream_id = 3; in ngtcp2_conn_server_new_versioned() 5504 if (conn->local.bidi.next_stream_id <= fr->stream_id) { in conn_recv_max_stream_data() 5514 if (!local_stream || conn->local.uni.next_stream_id <= fr->stream_id) { in conn_recv_max_stream_data() 7055 if (conn->local.bidi.next_stream_id <= fr->stream_id) { in conn_recv_stream() 7354 if (conn->local.bidi.next_stream_id <= fr->stream_id) { in conn_recv_reset_stream() 7496 if (conn->local.bidi.next_stream_id <= fr->stream_id) { in conn_recv_stop_sending() 7506 if (!local_stream || conn->local.uni.next_stream_id < in conn_recv_stop_sending() [all...] |
/third_party/nghttp2/lib/includes/nghttp2/ |
H A D | nghttp2.h | 3549 * Tells the |session| that next stream ID is |next_stream_id|. The 3550 * |next_stream_id| must be equal or greater than the value returned 3557 * The |next_stream_id| is strictly less than the value 3559 * |next_stream_id| is invalid (e.g., even integer for client, or 3563 int32_t next_stream_id);
|
/third_party/node/deps/nghttp2/lib/includes/nghttp2/ |
H A D | nghttp2.h | 3533 * Tells the |session| that next stream ID is |next_stream_id|. The 3534 * |next_stream_id| must be equal or greater than the value returned 3541 * The |next_stream_id| is strictly less than the value 3543 * |next_stream_id| is invalid (e.g., even integer for client, or 3547 int32_t next_stream_id);
|