/external/cronet/net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/ |
D | goaway_payload_decoder_test.cc | 39 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/ |
D | test_utils_test.cc | 40 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()
|
D | nghttp2_callbacks.cc | 142 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()
|
D | callback_visitor.cc | 347 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()
|
D | nghttp2_test_utils.cc | 337 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()
|
D | nghttp2_util.cc | 287 << 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/ |
D | http_encoder_test.cc | 56 GoAwayFrame goaway; in TEST() local 57 goaway.id = 0x1; in TEST() 61 std::string frame = HttpEncoder::SerializeGoAwayFrame(goaway); in TEST()
|
D | http_encoder.cc | 116 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()
|
D | http_encoder.h | 41 static std::string SerializeGoAwayFrame(const GoAwayFrame& goaway);
|
D | quic_receive_control_stream_test.cc | 269 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()
|
D | http_decoder_test.cc | 762 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/ |
D | spdy_framer.cc | 513 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 …]
|
D | spdy_framer.h | 100 SpdySerializedFrame SerializeGoAway(const SpdyGoAwayIR& goaway) const; 167 bool SerializeGoAway(const SpdyGoAwayIR& goaway,
|
D | http2_frame_decoder_adapter.cc | 621 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/ |
D | http2_frame_decoder_listener_test_util.cc | 124 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()
|
D | frame_parts_collector_listener.cc | 146 const Http2FrameHeader& header, const Http2GoAwayFields& goaway) { in OnGoAwayStart() argument 148 << "; goaway: " << goaway; in OnGoAwayStart() 149 StartFrame(header)->OnGoAwayStart(header, goaway); in OnGoAwayStart()
|
D | http2_frame_decoder_listener_test_util.h | 58 const Http2GoAwayFields& goaway) override; 124 const Http2GoAwayFields& goaway) override;
|
D | frame_parts_collector_listener.h | 65 const Http2GoAwayFields& goaway) override;
|
D | frame_parts.cc | 304 const Http2GoAwayFields& goaway) { in OnGoAwayStart() argument 305 QUICHE_VLOG(1) << "OnGoAwayStart: " << goaway; in OnGoAwayStart() 308 opt_goaway_ = goaway; in OnGoAwayStart()
|
/external/grpc-grpc/doc/ |
D | http2-interop-test-descriptions.md | 18 * 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/ |
D | http2_trace_logging.cc | 391 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()
|
D | http2_trace_logging.h | 122 void VisitGoAway(const spdy::SpdyGoAwayIR& goaway) override;
|
/external/cronet/net/spdy/ |
D | spdy_session_unittest.cc | 498 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/ |
D | Spdy3ConnectionTest.java | 851 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/ |
D | http2_frame_decoder_listener.h | 208 const Http2GoAwayFields& goaway) = 0;
|