Home
last modified time | relevance | path

Searched refs:last_stream_id (Results 1 - 20 of 20) sorted by relevance

/third_party/nghttp2/lib/
H A Dnghttp2_session.h396 int32_t last_stream_id; member
467 * Adds GOAWAY frame with the last-stream-ID |last_stream_id| and the
481 int nghttp2_session_add_goaway(nghttp2_session *session, int32_t last_stream_id,
H A Dnghttp2_frame.c142 void nghttp2_frame_goaway_init(nghttp2_goaway *frame, int32_t last_stream_id, in nghttp2_frame_goaway_init() argument
147 frame->last_stream_id = last_stream_id; in nghttp2_frame_goaway_init()
631 nghttp2_put_uint32be(buf->last, (uint32_t)frame->last_stream_id); in nghttp2_frame_pack_goaway()
654 frame->last_stream_id = nghttp2_get_uint32(payload) & NGHTTP2_STREAM_ID_MASK; in nghttp2_frame_unpack_goaway_payload()
H A Dnghttp2_submit.c285 int32_t last_stream_id, uint32_t error_code, in nghttp2_submit_goaway()
292 return nghttp2_session_add_goaway(session, last_stream_id, error_code, in nghttp2_submit_goaway()
284 nghttp2_submit_goaway(nghttp2_session *session, uint8_t flags, int32_t last_stream_id, uint32_t error_code, const uint8_t *opaque_data, size_t opaque_data_len) nghttp2_submit_goaway() argument
H A Dnghttp2_session.c219 int32_t last_stream_id, in session_terminate_session()
241 rv = nghttp2_session_add_goaway(session, last_stream_id, error_code, in session_terminate_session()
261 int32_t last_stream_id, in nghttp2_session_terminate_session2()
263 return session_terminate_session(session, last_stream_id, error_code, NULL); in nghttp2_session_terminate_session2()
1807 * going down or received last_stream_id is strictly less than
2573 session->local_last_stream_id = frame->goaway.last_stream_id; in session_prep_frame()
2762 stream->stream_id > arg->last_stream_id) { in find_stream_on_goaway_func()
2781 last_stream_id. If incoming is nonzero, we are going to close
2784 int32_t last_stream_id, in session_close_stream_on_goaway()
2788 nghttp2_close_stream_on_goaway_arg arg = {session, NULL, last_stream_id, in session_close_stream_on_goaway()
218 session_terminate_session(nghttp2_session *session, int32_t last_stream_id, uint32_t error_code, const char *reason) session_terminate_session() argument
260 nghttp2_session_terminate_session2(nghttp2_session *session, int32_t last_stream_id, uint32_t error_code) nghttp2_session_terminate_session2() argument
2783 session_close_stream_on_goaway(nghttp2_session *session, int32_t last_stream_id, int incoming) session_close_stream_on_goaway() argument
7424 nghttp2_session_add_goaway(nghttp2_session *session, int32_t last_stream_id, uint32_t error_code, const uint8_t *opaque_data, size_t opaque_data_len, uint8_t aux_flags) nghttp2_session_add_goaway() argument
[all...]
H A Dnghttp2_frame.h488 void nghttp2_frame_goaway_init(nghttp2_goaway *frame, int32_t last_stream_id,
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_session.h386 int32_t last_stream_id; member
457 * Adds GOAWAY frame with the last-stream-ID |last_stream_id| and the
471 int nghttp2_session_add_goaway(nghttp2_session *session, int32_t last_stream_id,
H A Dnghttp2_frame.c142 void nghttp2_frame_goaway_init(nghttp2_goaway *frame, int32_t last_stream_id, in nghttp2_frame_goaway_init() argument
147 frame->last_stream_id = last_stream_id; in nghttp2_frame_goaway_init()
631 nghttp2_put_uint32be(buf->last, (uint32_t)frame->last_stream_id); in nghttp2_frame_pack_goaway()
654 frame->last_stream_id = nghttp2_get_uint32(payload) & NGHTTP2_STREAM_ID_MASK; in nghttp2_frame_unpack_goaway_payload()
H A Dnghttp2_submit.c285 int32_t last_stream_id, uint32_t error_code, in nghttp2_submit_goaway()
292 return nghttp2_session_add_goaway(session, last_stream_id, error_code, in nghttp2_submit_goaway()
284 nghttp2_submit_goaway(nghttp2_session *session, uint8_t flags, int32_t last_stream_id, uint32_t error_code, const uint8_t *opaque_data, size_t opaque_data_len) nghttp2_submit_goaway() argument
H A Dnghttp2_session.c219 int32_t last_stream_id, in session_terminate_session()
241 rv = nghttp2_session_add_goaway(session, last_stream_id, error_code, in session_terminate_session()
261 int32_t last_stream_id, in nghttp2_session_terminate_session2()
263 return session_terminate_session(session, last_stream_id, error_code, NULL); in nghttp2_session_terminate_session2()
1802 * going down or received last_stream_id is strictly less than
2568 session->local_last_stream_id = frame->goaway.last_stream_id; in session_prep_frame()
2757 stream->stream_id > arg->last_stream_id) { in find_stream_on_goaway_func()
2776 last_stream_id. If incoming is nonzero, we are going to close
2779 int32_t last_stream_id, in session_close_stream_on_goaway()
2783 nghttp2_close_stream_on_goaway_arg arg = {session, NULL, last_stream_id, in session_close_stream_on_goaway()
218 session_terminate_session(nghttp2_session *session, int32_t last_stream_id, uint32_t error_code, const char *reason) session_terminate_session() argument
260 nghttp2_session_terminate_session2(nghttp2_session *session, int32_t last_stream_id, uint32_t error_code) nghttp2_session_terminate_session2() argument
2778 session_close_stream_on_goaway(nghttp2_session *session, int32_t last_stream_id, int incoming) session_close_stream_on_goaway() argument
7413 nghttp2_session_add_goaway(nghttp2_session *session, int32_t last_stream_id, uint32_t error_code, const uint8_t *opaque_data, size_t opaque_data_len, uint8_t aux_flags) nghttp2_session_add_goaway() argument
[all...]
H A Dnghttp2_frame.h488 void nghttp2_frame_goaway_init(nghttp2_goaway *frame, int32_t last_stream_id,
/third_party/nghttp2/lib/includes/nghttp2/
H A Dnghttp2.h1198 int32_t last_stream_id; member
3467 * last_stream_id to be increased. So the actual value sent as
3468 * last_stream_id is the minimum value between the given
3469 * |last_stream_id| and the last_stream_id we have previously sent to
3472 * The |last_stream_id| is peer's stream ID or 0. So if |session| is
3473 * initialized as client, |last_stream_id| must be even or 0. If
3474 * |session| is initialized as server, |last_stream_id| must be odd or
3483 * The |last_stream_id| is invalid.
3486 int32_t last_stream_id,
[all...]
/third_party/node/deps/nghttp2/lib/includes/nghttp2/
H A Dnghttp2.h1193 int32_t last_stream_id; member
3451 * last_stream_id to be increased. So the actual value sent as
3452 * last_stream_id is the minimum value between the given
3453 * |last_stream_id| and the last_stream_id we have previously sent to
3456 * The |last_stream_id| is peer's stream ID or 0. So if |session| is
3457 * initialized as client, |last_stream_id| must be even or 0. If
3458 * |session| is initialized as server, |last_stream_id| must be odd or
3467 * The |last_stream_id| is invalid.
3470 int32_t last_stream_id,
[all...]
/third_party/curl/lib/
H A Dhttp2.c134 int32_t last_stream_id; member
424 ctx->last_stream_id = 2147483647; in cf_h2_ctx_init()
1153 scratch, frame->goaway.last_stream_id); in fr_print()
1242 ctx->last_stream_id = frame->goaway.last_stream_id; in on_frame_recv()
1245 ctx->goaway_error, ctx->last_stream_id); in on_frame_recv()
1859 (ctx->goaway && ctx->last_stream_id < stream->id)) { in stream_recv()
H A Dcf-h2-proxy.c181 int32_t last_stream_id; member
626 scratch, frame->goaway.last_stream_id); in proxy_h2_fr_print()
1253 (ctx->goaway && ctx->last_stream_id < ctx->tunnel.stream_id)) { in tunnel_recv()
/third_party/nghttp2/src/
H A Dshrpx_http2_upstream.cc617 << frame->goaway.last_stream_id in on_frame_recv_callback()
797 << frame->goaway.last_stream_id in on_frame_send_callback()
923 auto last_stream_id = nghttp2_session_get_last_proc_stream_id(session_); in submit_goaway() local
924 nghttp2_submit_goaway(session_, NGHTTP2_FLAG_NONE, last_stream_id, in submit_goaway()
H A Dapp_helper.cc339 "(last_stream_id=%d, error_code=%s(0x%02x), " in print_frame()
341 frame->goaway.last_stream_id, in print_frame()
H A Dshrpx_http2_session.cc1392 << "GOAWAY received: last-stream-id=" << frame->goaway.last_stream_id in on_frame_recv_callback()
2402 auto last_stream_id = nghttp2_session_get_last_proc_stream_id(session_); in check_retire() local
2403 nghttp2_submit_goaway(session_, NGHTTP2_FLAG_NONE, last_stream_id, in check_retire()
/third_party/nghttp2/tests/
H A Dnghttp2_frame_test.c402 CU_ASSERT(1000000007 == oframe.last_stream_id); in test_nghttp2_frame_pack_goaway()
H A Dnghttp2_session_test.c10987 int32_t stream_id, last_stream_id; in test_nghttp2_session_repeated_priority_change() local
11004 last_stream_id = max_streams * 2 + 1; in test_nghttp2_session_repeated_priority_change()
11006 for (stream_id = 3; stream_id < last_stream_id; stream_id += 2) { in test_nghttp2_session_repeated_priority_change()
11019 /* 1 -> last_stream_id */ in test_nghttp2_session_repeated_priority_change()
11020 nghttp2_priority_spec_init(&pri_spec, last_stream_id, 16, 0); in test_nghttp2_session_repeated_priority_change()
11037 int32_t stream_id, last_stream_id; in test_nghttp2_session_repeated_priority_submission() local
11054 last_stream_id = (int32_t)(max_streams * 2 + 1); in test_nghttp2_session_repeated_priority_submission()
11056 for (stream_id = 3; stream_id < last_stream_id; stream_id += 2) { in test_nghttp2_session_repeated_priority_submission()
11068 /* 1 -> last_stream_id */ in test_nghttp2_session_repeated_priority_submission()
11069 nghttp2_priority_spec_init(&pri_spec, last_stream_id, 1 in test_nghttp2_session_repeated_priority_submission()
[all...]
/third_party/node/src/
H A Dnode_http2.cc1446 Integer::New(isolate, goaway_frame.last_stream_id), in HandleGoawayFrame()

Completed in 59 milliseconds