Home
last modified time | relevance | path

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

12

/external/cronet/net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/
Dgoaway_payload_decoder_test.cc39 const Http2GoAwayFields& goaway) override { in OnGoAwayStart()
41 << "; goaway: " << goaway; in OnGoAwayStart()
42 StartFrame(header)->OnGoAwayStart(header, goaway); in OnGoAwayStart()
92 Http2GoAwayFields goaway; in TEST_P() local
93 Randomize(&goaway, RandomPtr()); in TEST_P()
96 fb.Append(goaway); in TEST_P()
102 expected.SetOptGoaway(goaway); in TEST_P()
/external/cronet/net/third_party/quiche/src/quiche/http2/adapter/
Dtest_utils_test.cc40 spdy::SpdyGoAwayIR goaway{13, spdy::ERROR_CODE_ENHANCE_YOUR_CALM, in TEST() local
42 EXPECT_THAT(framer.SerializeFrame(goaway), in TEST()
61 spdy::SpdyGoAwayIR goaway{13, spdy::ERROR_CODE_ENHANCE_YOUR_CALM, in TEST() local
74 absl::string_view(framer.SerializeFrame(goaway)), in TEST()
Dnghttp2_callbacks.cc142 reinterpret_cast<const char*>(frame->goaway.opaque_data), in OnFrameReceived()
143 frame->goaway.opaque_data_len); in OnFrameReceived()
145 frame->goaway.last_stream_id, in OnFrameReceived()
146 ToHttp2ErrorCode(frame->goaway.error_code), opaque_data); in OnFrameReceived()
232 error_code = frame->goaway.error_code; in OnFrameSent()
Dcallback_visitor.cc347 current_frame_.goaway.last_stream_id = last_accepted_stream_id; in OnGoAway()
348 current_frame_.goaway.error_code = static_cast<uint32_t>(error_code); in OnGoAway()
349 current_frame_.goaway.opaque_data = ToUint8Ptr(opaque_data.data()); in OnGoAway()
350 current_frame_.goaway.opaque_data_len = opaque_data.size(); in OnGoAway()
400 frame.goaway.error_code = error_code; in PopulateFrame()
Dnghttp2_test_utils.cc337 if (!last_stream_id_.MatchAndExplain(frame->goaway.last_stream_id, in MatchAndExplain()
341 if (!error_code_.MatchAndExplain(frame->goaway.error_code, listener)) { in MatchAndExplain()
345 ToStringView(frame->goaway.opaque_data, frame->goaway.opaque_data_len); in MatchAndExplain()
Dnghttp2_util.cc287 << frame.goaway.last_stream_id << " and error " in LogBeforeSend()
288 << ErrorString(frame.goaway.error_code); in LogBeforeSend()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/http/
Dhttp_encoder_test.cc56 GoAwayFrame goaway; in TEST() local
57 goaway.id = 0x1; in TEST()
61 std::string frame = HttpEncoder::SerializeGoAwayFrame(goaway); in TEST()
Dhttp_encoder.cc116 std::string HttpEncoder::SerializeGoAwayFrame(const GoAwayFrame& goaway) { in SerializeGoAwayFrame() argument
117 QuicByteCount payload_length = QuicDataWriter::GetVarInt62Len(goaway.id); in SerializeGoAwayFrame()
126 writer.WriteVarInt62(goaway.id)) { in SerializeGoAwayFrame()
Dhttp_encoder.h41 static std::string SerializeGoAwayFrame(const GoAwayFrame& goaway);
Dquic_receive_control_stream_test.cc269 GoAwayFrame goaway{/* id = */ 0}; in TEST_P() local
270 std::string goaway_frame = HttpEncoder::SerializeGoAwayFrame(goaway); in TEST_P()
276 EXPECT_CALL(debug_visitor, OnGoAwayFrameReceived(goaway)); in TEST_P()
Dhttp_decoder_test.cc762 std::string goaway = HttpEncoder::SerializeGoAwayFrame(frame); in TEST_F() local
764 EXPECT_GT(goaway.length(), 0u); in TEST_F()
765 EXPECT_EQ(goaway.length(), in TEST_F()
766 decoder_.ProcessInput(goaway.data(), goaway.length())); in TEST_F()
/external/cronet/net/third_party/quiche/src/quiche/spdy/core/
Dspdy_framer.cc513 const SpdyGoAwayIR& goaway) const { in SerializeGoAway()
516 expected_length += goaway.description().size(); in SerializeGoAway()
523 builder.WriteUInt32(goaway.last_good_stream_id()); in SerializeGoAway()
526 builder.WriteUInt32(goaway.error_code()); in SerializeGoAway()
529 if (!goaway.description().empty()) { in SerializeGoAway()
530 builder.WriteBytes(goaway.description().data(), in SerializeGoAway()
531 goaway.description().size()); in SerializeGoAway()
817 void VisitGoAway(const SpdyGoAwayIR& goaway) override { in VisitGoAway() argument
818 frame_ = framer_->SerializeGoAway(goaway); in VisitGoAway()
1058 bool SpdyFramer::SerializeGoAway(const SpdyGoAwayIR& goaway, in SerializeGoAway() argument
[all …]
Dspdy_framer.h100 SpdySerializedFrame SerializeGoAway(const SpdyGoAwayIR& goaway) const;
167 bool SerializeGoAway(const SpdyGoAwayIR& goaway,
Dhttp2_frame_decoder_adapter.cc621 const Http2GoAwayFields& goaway) { in OnGoAwayStart() argument
622 QUICHE_DVLOG(1) << "OnGoAwayStart: " << header << "; goaway: " << goaway; in OnGoAwayStart()
627 ParseErrorCode(static_cast<uint32_t>(goaway.error_code)); in OnGoAwayStart()
628 visitor()->OnGoAway(goaway.last_stream_id, error_code); in OnGoAwayStart()
/external/cronet/net/third_party/quiche/src/quiche/http2/test_tools/
Dhttp2_frame_decoder_listener_test_util.cc124 const Http2FrameHeader& header, const Http2GoAwayFields& goaway) { in OnGoAwayStart() argument
125 FAIL() << "OnGoAwayStart: " << header << "; goaway: " << goaway; in OnGoAwayStart()
384 const Http2FrameHeader& header, const Http2GoAwayFields& goaway) { in OnGoAwayStart() argument
385 QUICHE_VLOG(1) << "OnGoAwayStart: " << header << "; goaway: " << goaway; in OnGoAwayStart()
387 wrapped_->OnGoAwayStart(header, goaway); in OnGoAwayStart()
Dframe_parts_collector_listener.cc146 const Http2FrameHeader& header, const Http2GoAwayFields& goaway) { in OnGoAwayStart() argument
148 << "; goaway: " << goaway; in OnGoAwayStart()
149 StartFrame(header)->OnGoAwayStart(header, goaway); in OnGoAwayStart()
Dhttp2_frame_decoder_listener_test_util.h58 const Http2GoAwayFields& goaway) override;
124 const Http2GoAwayFields& goaway) override;
Dframe_parts_collector_listener.h65 const Http2GoAwayFields& goaway) override;
Dframe_parts.cc304 const Http2GoAwayFields& goaway) { in OnGoAwayStart() argument
305 QUICHE_VLOG(1) << "OnGoAwayStart: " << goaway; in OnGoAwayStart()
308 opt_goaway_ = goaway; in OnGoAwayStart()
/external/grpc-grpc/doc/
Dhttp2-interop-test-descriptions.md18 * The name of the test case to execute. For example, "goaway"
33 * The name of the test case to execute. For example, "goaway"
45 ### goaway subsection
47 This test verifies that the client correctly responds to a goaway sent by the
48 server. The client should handle the goaway by switching to a new stream without
/external/cronet/net/third_party/quiche/src/quiche/http2/core/
Dhttp2_trace_logging.cc391 void Http2FrameLogger::VisitGoAway(const SpdyGoAwayIR& goaway) { in VisitGoAway() argument
394 << FORMAT_ATTR(goaway, last_good_stream_id) in VisitGoAway()
395 << " error_code=" << spdy::ErrorCodeToString(goaway.error_code()) in VisitGoAway()
396 << FORMAT_ATTR(goaway, description); in VisitGoAway()
Dhttp2_trace_logging.h122 void VisitGoAway(const spdy::SpdyGoAwayIR& goaway) override;
/external/cronet/net/spdy/
Dspdy_session_unittest.cc498 spdy::SpdySerializedFrame goaway(spdy_util_.ConstructSpdyGoAway(1)); in TEST_F() local
500 CreateMockRead(goaway, 0), in TEST_F()
521 spdy::SpdySerializedFrame goaway(spdy_util_.ConstructSpdyGoAway(1)); in TEST_F() local
523 CreateMockRead(goaway, 0, SYNCHRONOUS), MockRead(ASYNC, 0, 1) // EOF in TEST_F()
542 spdy::SpdySerializedFrame goaway(spdy_util_.ConstructSpdyGoAway(1)); in TEST_F() local
544 MockRead(ASYNC, ERR_IO_PENDING, 2), CreateMockRead(goaway, 3), in TEST_F()
612 spdy::SpdySerializedFrame goaway(spdy_util_.ConstructSpdyGoAway(0)); in TEST_F() local
614 MockRead(ASYNC, ERR_IO_PENDING, 1), CreateMockRead(goaway, 2), in TEST_F()
739 spdy::SpdySerializedFrame goaway(spdy_util_.ConstructSpdyGoAway(1)); in TEST_F() local
741 MockRead(ASYNC, ERR_IO_PENDING, 2), CreateMockRead(goaway, 3), in TEST_F()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DSpdy3ConnectionTest.java851 MockSpdyPeer.InFrame goaway = peer.takeFrame();
852 assertEquals(TYPE_GOAWAY, goaway.type);
853 assertEquals(0, goaway.streamId);
854 assertEquals(PROTOCOL_ERROR, goaway.errorCode);
875 MockSpdyPeer.InFrame goaway = peer.takeFrame();
876 assertEquals(TYPE_GOAWAY, goaway.type);
877 assertEquals(INTERNAL_ERROR, goaway.errorCode);
920 MockSpdyPeer.InFrame goaway = peer.takeFrame();
921 assertEquals(TYPE_GOAWAY, goaway.type);
/external/cronet/net/third_party/quiche/src/quiche/http2/decoder/
Dhttp2_frame_decoder_listener.h208 const Http2GoAwayFields& goaway) = 0;

12