/third_party/nghttp2/src/ |
H A D | app_helper.cc | 341 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 D | shrpx_http2_upstream.cc | 613 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 D | shrpx_http2_session.cc | 1388 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 D | test-http2-server-shutdown-before-respond.js | 14 stream.session.goaway(1); 24 client.on('goaway', common.mustCall());
|
/third_party/nghttp2/lib/ |
H A D | nghttp2_outbound_item.h | 101 nghttp2_goaway_aux_data goaway; member
|
H A D | nghttp2_outbound_item.c | 70 nghttp2_frame_goaway_free(&frame->goaway, mem); in nghttp2_outbound_item_free()
|
H A D | nghttp2_session.c | 340 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 D | nghttp2_outbound_item.h | 101 nghttp2_goaway_aux_data goaway; member
|
H A D | nghttp2_outbound_item.c | 70 nghttp2_frame_goaway_free(&frame->goaway, mem); in nghttp2_outbound_item_free()
|
H A D | nghttp2_session.c | 340 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 D | cf-h2-proxy.c | 183 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 D | http2.c | 136 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 D | nghttp3_frame.h | 114 nghttp3_frame_goaway goaway; member
|
H A D | nghttp3_conn.c | 2244 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 D | nghttp3_stream.c | 379 nghttp3_frame_goaway *fr = &frent->fr.goaway; in nghttp3_stream_write_goaway()
|
/third_party/nghttp2/tests/ |
H A D | nghttp2_test_helper.c | 76 nghttp2_frame_unpack_goaway_payload2(&frame->goaway, payload, payloadlen, in unpack_frame()
|
H A D | nghttp2_session_test.c | 779 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 D | core.js | 665 // 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 D | nghttp2.h | 1302 nghttp2_goaway goaway; member
|
/third_party/node/deps/nghttp2/lib/includes/nghttp2/ |
H A D | nghttp2.h | 1297 nghttp2_goaway goaway; member
|
/third_party/curl/lib/vquic/ |
H A D | curl_quiche.c | 103 BIT(goaway); /* got GOAWAY from server */ 1440 if(!ctx->goaway) { in cf_quiche_query()
|
/third_party/node/src/ |
H A D | node_http2.cc | 1441 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()
|