Home
last modified time | relevance | path

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

12

/third_party/node/test/parallel/
Dtest-http2-server-shutdown-redundant.js13 session.goaway(1);
14 session.goaway(2);
17 () => session.goaway(3),
Dtest-http2-server-shutdown-options-errors.js25 () => session.goaway(input),
34 () => session.goaway(0, input),
43 () => session.goaway(0, 0, input),
Dtest-http2-server-shutdown-before-respond.js14 stream.session.goaway(1);
Dtest-http2-goaway-opaquedata.js16 session.goaway(0, 0, data);
Dtest-http2-client-destroy.js83 assert.throws(() => client.goaway(), sessionError);
94 assert.throws(() => client.goaway(), sessionError);
/third_party/nghttp2/src/
Dapp_helper.cc341 frame->goaway.last_stream_id, in print_frame()
342 nghttp2_http2_strerror(frame->goaway.error_code), in print_frame()
343 frame->goaway.error_code, in print_frame()
344 static_cast<unsigned int>(frame->goaway.opaque_data_len), in print_frame()
345 util::ascii_dump(frame->goaway.opaque_data, in print_frame()
346 frame->goaway.opaque_data_len) in print_frame()
Dshrpx_http2_upstream.cc613 auto debug_data = util::ascii_dump(frame->goaway.opaque_data, in on_frame_recv_callback()
614 frame->goaway.opaque_data_len); in on_frame_recv_callback()
617 << frame->goaway.last_stream_id in on_frame_recv_callback()
618 << ", error_code=" << frame->goaway.error_code in on_frame_recv_callback()
793 auto debug_data = util::ascii_dump(frame->goaway.opaque_data, in on_frame_send_callback()
794 frame->goaway.opaque_data_len); in on_frame_send_callback()
797 << frame->goaway.last_stream_id in on_frame_send_callback()
798 << ", error_code=" << frame->goaway.error_code in on_frame_send_callback()
Dshrpx_http2_session.cc1388 auto debug_data = util::ascii_dump(frame->goaway.opaque_data, in on_frame_recv_callback()
1389 frame->goaway.opaque_data_len); in on_frame_recv_callback()
1392 << "GOAWAY received: last-stream-id=" << frame->goaway.last_stream_id in on_frame_recv_callback()
1393 << ", error_code=" << frame->goaway.error_code in on_frame_recv_callback()
/third_party/curl/lib/
Dcf-h2-proxy.c183 BIT(goaway);
619 size_t len = (frame->goaway.opaque_data_len < s_len)? in proxy_h2_fr_print()
620 frame->goaway.opaque_data_len : s_len-1; in proxy_h2_fr_print()
622 memcpy(scratch, frame->goaway.opaque_data, len); in proxy_h2_fr_print()
625 "last_stream=%d]", frame->goaway.error_code, in proxy_h2_fr_print()
626 scratch, frame->goaway.last_stream_id); in proxy_h2_fr_print()
700 ctx->goaway = TRUE; in proxy_h2_on_frame_recv()
1266 (ctx->goaway && ctx->last_stream_id < ctx->tunnel.stream_id)) { in tunnel_recv()
Dhttp2.c136 BIT(goaway);
1147 size_t len = (frame->goaway.opaque_data_len < s_len)? in fr_print()
1148 frame->goaway.opaque_data_len : s_len-1; in fr_print()
1150 memcpy(scratch, frame->goaway.opaque_data, len); in fr_print()
1153 "last_stream=%d]", frame->goaway.error_code, in fr_print()
1154 scratch, frame->goaway.last_stream_id); in fr_print()
1246 ctx->goaway = TRUE; in on_frame_recv()
1247 ctx->goaway_error = frame->goaway.error_code; in on_frame_recv()
1248 ctx->last_stream_id = frame->goaway.last_stream_id; in on_frame_recv()
1866 (ctx->goaway && ctx->last_stream_id < stream->id)) { in stream_recv()
/third_party/nghttp2/lib/
Dnghttp2_outbound_item.h101 nghttp2_goaway_aux_data goaway; member
Dnghttp2_outbound_item.c70 nghttp2_frame_goaway_free(&frame->goaway, mem); in nghttp2_outbound_item_free()
Dnghttp2_session.c340 nghttp2_frame_goaway_free(&iframe->frame.goaway, mem); in session_inbound_frame_reset()
2609 rv = nghttp2_frame_pack_goaway(&session->aob.framebufs, &frame->goaway); in session_prep_frame()
2613 session->local_last_stream_id = frame->goaway.last_stream_id; in session_prep_frame()
3088 aux_data = &item->aux_data.goaway; in session_after_frame_sent1()
3098 rv = session_close_stream_on_goaway(session, frame->goaway.last_stream_id, in session_after_frame_sent1()
5183 if ((frame->goaway.last_stream_id > 0 && in nghttp2_session_on_goaway_received()
5185 frame->goaway.last_stream_id)) || in nghttp2_session_on_goaway_received()
5186 session->remote_last_stream_id < frame->goaway.last_stream_id) { in nghttp2_session_on_goaway_received()
5193 session->remote_last_stream_id = frame->goaway.last_stream_id; in nghttp2_session_on_goaway_received()
5201 return session_close_stream_on_goaway(session, frame->goaway.last_stream_id, in nghttp2_session_on_goaway_received()
[all …]
/third_party/node/deps/nghttp2/lib/
Dnghttp2_outbound_item.h101 nghttp2_goaway_aux_data goaway; member
Dnghttp2_outbound_item.c70 nghttp2_frame_goaway_free(&frame->goaway, mem); in nghttp2_outbound_item_free()
Dnghttp2_session.c340 nghttp2_frame_goaway_free(&iframe->frame.goaway, mem); in session_inbound_frame_reset()
2564 rv = nghttp2_frame_pack_goaway(&session->aob.framebufs, &frame->goaway); in session_prep_frame()
2568 session->local_last_stream_id = frame->goaway.last_stream_id; in session_prep_frame()
3040 aux_data = &item->aux_data.goaway; in session_after_frame_sent1()
3050 rv = session_close_stream_on_goaway(session, frame->goaway.last_stream_id, in session_after_frame_sent1()
5098 if ((frame->goaway.last_stream_id > 0 && in nghttp2_session_on_goaway_received()
5100 frame->goaway.last_stream_id)) || in nghttp2_session_on_goaway_received()
5101 session->remote_last_stream_id < frame->goaway.last_stream_id) { in nghttp2_session_on_goaway_received()
5108 session->remote_last_stream_id = frame->goaway.last_stream_id; in nghttp2_session_on_goaway_received()
5116 return session_close_stream_on_goaway(session, frame->goaway.last_stream_id, in nghttp2_session_on_goaway_received()
[all …]
/third_party/node/deps/ngtcp2/nghttp3/lib/
Dnghttp3_frame.h114 nghttp3_frame_goaway goaway; member
Dnghttp3_conn.c2244 frent.fr.goaway.id = conn->server ? NGHTTP3_SHUTDOWN_NOTICE_STREAM_ID in nghttp3_conn_submit_shutdown_notice()
2247 assert(frent.fr.goaway.id <= conn->tx.goaway_id); in nghttp3_conn_submit_shutdown_notice()
2254 conn->tx.goaway_id = frent.fr.goaway.id; in nghttp3_conn_submit_shutdown_notice()
2268 frent.fr.goaway.id = in nghttp3_conn_shutdown()
2271 frent.fr.goaway.id = 0; in nghttp3_conn_shutdown()
2274 assert(frent.fr.goaway.id <= conn->tx.goaway_id); in nghttp3_conn_shutdown()
2281 conn->tx.goaway_id = frent.fr.goaway.id; in nghttp3_conn_shutdown()
Dnghttp3_stream.c379 nghttp3_frame_goaway *fr = &frent->fr.goaway; in nghttp3_stream_write_goaway()
/third_party/nghttp2/tests/
Dnghttp2_test_helper.c78 nghttp2_frame_unpack_goaway_payload2(&frame->goaway, payload, payloadlen, in unpack_frame()
Dnghttp2_session_test.c774 CU_ASSERT(NGHTTP2_FRAME_SIZE_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_recv()
1015 CU_ASSERT(NGHTTP2_PROTOCOL_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_recv_data()
1524 CU_ASSERT(NGHTTP2_FRAME_SIZE_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_recv_headers_with_priority()
1569 CU_ASSERT(NGHTTP2_PROTOCOL_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_recv_headers_with_priority()
2933 CU_ASSERT(NGHTTP2_PROTOCOL_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_recv_priority_update()
2968 CU_ASSERT(NGHTTP2_PROTOCOL_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_recv_priority_update()
3565 CU_ASSERT(NGHTTP2_PROTOCOL_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_on_push_response_headers_received()
4035 CU_ASSERT(NGHTTP2_STREAM_CLOSED == item->frame.goaway.error_code); in test_nghttp2_session_on_push_promise_received()
4078 CU_ASSERT(NGHTTP2_PROTOCOL_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_on_push_promise_received()
4109 CU_ASSERT(NGHTTP2_PROTOCOL_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_on_push_promise_received()
[all …]
/third_party/node/lib/internal/http2/
Dcore.js854 this[kHandle].goaway(code, lastStreamID, opaqueData);
1505 goaway(code = NGHTTP2_NO_ERROR, lastStreamID = 0, opaqueData) { method in Http2Session
1565 this.goaway();
/third_party/curl/lib/vquic/
Dcurl_quiche.c109 BIT(goaway); /* got GOAWAY from server */
1581 if(!ctx->goaway) { in cf_quiche_query()
/third_party/nghttp2/lib/includes/nghttp2/
Dnghttp2.h1297 nghttp2_goaway goaway; member
/third_party/node/deps/nghttp2/lib/includes/nghttp2/
Dnghttp2.h1297 nghttp2_goaway goaway; member

12