Home
last modified time | relevance | path

Searched refs:goaway (Results 1 - 22 of 22) sorted by relevance

/third_party/nghttp2/src/
H A 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()
H A 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()
H A 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/node/test/parallel/
H A Dtest-http2-server-shutdown-before-respond.js14 stream.session.goaway(1);
24 client.on('goaway', common.mustCall());
/third_party/nghttp2/lib/
H A Dnghttp2_outbound_item.h101 nghttp2_goaway_aux_data goaway; member
H A Dnghttp2_outbound_item.c70 nghttp2_frame_goaway_free(&frame->goaway, mem); in nghttp2_outbound_item_free()
H A Dnghttp2_session.c340 nghttp2_frame_goaway_free(&iframe->frame.goaway, mem); in session_inbound_frame_reset()
2569 rv = nghttp2_frame_pack_goaway(&session->aob.framebufs, &frame->goaway); in session_prep_frame()
2573 session->local_last_stream_id = frame->goaway.last_stream_id; in session_prep_frame()
3045 aux_data = &item->aux_data.goaway; in session_after_frame_sent1()
3055 rv = session_close_stream_on_goaway(session, frame->goaway.last_stream_id, in session_after_frame_sent1()
5103 if ((frame->goaway.last_stream_id > 0 && in nghttp2_session_on_goaway_received()
5105 frame->goaway.last_stream_id)) || in nghttp2_session_on_goaway_received()
5106 session->remote_last_stream_id < frame->goaway.last_stream_id) { in nghttp2_session_on_goaway_received()
5113 session->remote_last_stream_id = frame->goaway.last_stream_id; in nghttp2_session_on_goaway_received()
5121 return session_close_stream_on_goaway(session, frame->goaway in nghttp2_session_on_goaway_received()
[all...]
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_outbound_item.h101 nghttp2_goaway_aux_data goaway; member
H A Dnghttp2_outbound_item.c70 nghttp2_frame_goaway_free(&frame->goaway, mem); in nghttp2_outbound_item_free()
H A 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 in nghttp2_session_on_goaway_received()
[all...]
/third_party/curl/lib/
H A 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()
696 ctx->goaway = TRUE; in proxy_h2_on_frame_recv()
1253 (ctx->goaway && ctx->last_stream_id < ctx->tunnel.stream_id)) { in tunnel_recv()
H A Dhttp2.c136 BIT(goaway);
1146 size_t len = (frame->goaway.opaque_data_len < s_len)? in fr_print()
1147 frame->goaway.opaque_data_len : s_len-1; in fr_print()
1149 memcpy(scratch, frame->goaway.opaque_data, len); in fr_print()
1152 "last_stream=%d]", frame->goaway.error_code, in fr_print()
1153 scratch, frame->goaway.last_stream_id); in fr_print()
1240 ctx->goaway = TRUE; in on_frame_recv()
1241 ctx->goaway_error = frame->goaway.error_code; in on_frame_recv()
1242 ctx->last_stream_id = frame->goaway.last_stream_id; in on_frame_recv()
1859 (ctx->goaway in stream_recv()
[all...]
/third_party/node/deps/ngtcp2/nghttp3/lib/
H A Dnghttp3_frame.h114 nghttp3_frame_goaway goaway; member
H A 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()
H A Dnghttp3_stream.c379 nghttp3_frame_goaway *fr = &frent->fr.goaway; in nghttp3_stream_write_goaway()
/third_party/nghttp2/tests/
H A Dnghttp2_test_helper.c76 nghttp2_frame_unpack_goaway_payload2(&frame->goaway, payload, payloadlen, in unpack_frame()
H A Dnghttp2_session_test.c779 CU_ASSERT(NGHTTP2_FRAME_SIZE_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_recv()
1020 CU_ASSERT(NGHTTP2_PROTOCOL_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_recv_data()
1528 CU_ASSERT(NGHTTP2_FRAME_SIZE_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_recv_headers_with_priority()
1573 CU_ASSERT(NGHTTP2_PROTOCOL_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_recv_headers_with_priority()
2937 CU_ASSERT(NGHTTP2_PROTOCOL_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_recv_priority_update()
2972 CU_ASSERT(NGHTTP2_PROTOCOL_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_recv_priority_update()
3569 CU_ASSERT(NGHTTP2_PROTOCOL_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_on_push_response_headers_received()
4039 CU_ASSERT(NGHTTP2_STREAM_CLOSED == item->frame.goaway.error_code); in test_nghttp2_session_on_push_promise_received()
4082 CU_ASSERT(NGHTTP2_PROTOCOL_ERROR == item->frame.goaway.error_code); in test_nghttp2_session_on_push_promise_received()
4113 CU_ASSERT(NGHTTP2_PROTOCOL_ERROR == item->frame.goaway in test_nghttp2_session_on_push_promise_received()
[all...]
/third_party/node/lib/internal/http2/
H A Dcore.js665 // The goaway event will be emitted on next tick.
670 debugSessionObj(session, 'goaway %d received [last stream id: %d]',
677 session.emit('goaway', code, lastStreamID, buf);
679 // If this is a no error goaway, begin shutting down.
686 // goaway using NGHTTP2_NO_ERROR because there was no error
852 debugSessionObj(this, 'submitting goaway');
854 this[kHandle].goaway(code, lastStreamID, opaqueData);
1176 // The Http2Session.goaway() method will send a GOAWAY frame, signalling
1177 // to the connected peer that a shutdown is in progress. Sending a goaway
1180 // Receiving a GOAWAY frame will cause the Http2Session to first emit a 'goaway'
[all...]
/third_party/nghttp2/lib/includes/nghttp2/
H A Dnghttp2.h1302 nghttp2_goaway goaway; member
/third_party/node/deps/nghttp2/lib/includes/nghttp2/
H A Dnghttp2.h1297 nghttp2_goaway goaway; member
/third_party/curl/lib/vquic/
H A Dcurl_quiche.c103 BIT(goaway); /* got GOAWAY from server */
1440 if(!ctx->goaway) { in cf_quiche_query()
/third_party/node/src/
H A Dnode_http2.cc1441 nghttp2_goaway goaway_frame = frame->goaway; in HandleGoawayFrame()
1442 Debug(this, "handling goaway frame"); in HandleGoawayFrame()
1453 // The additional goaway data is completely optional and we in HandleGoawayFrame()
2733 Debug(this, "submitting goaway"); in Goaway()
3272 SetProtoMethod(isolate, session, "goaway", Http2Session::Goaway); in Initialize()

Completed in 62 milliseconds