Index: net/quic/quic_protocol.cc |
diff --git a/net/quic/quic_protocol.cc b/net/quic/quic_protocol.cc |
index a45c4afb8f52c06d54661cdec2af99351c2426e5..98f5c1d8f6d50d97bc3e9fb149c2e6e238c11b3c 100644 |
--- a/net/quic/quic_protocol.cc |
+++ b/net/quic/quic_protocol.cc |
@@ -162,7 +162,7 @@ QuicVersion QuicTagToQuicVersion(const QuicTag version_tag) { |
} |
// Reading from the client so this should not be considered an ERROR. |
DVLOG(1) << "Unsupported QuicTag version: " |
- << QuicUtils::TagToString(version_tag); |
+ << QuicUtils::TagToString(version_tag); |
return QUIC_VERSION_UNSUPPORTED; |
} |
@@ -315,6 +315,23 @@ ostream& operator<<(ostream& os, const QuicAckFrame& ack_frame) { |
return os; |
} |
+ostream& operator<<(ostream& os, const QuicStreamFrame& stream_frame) { |
+ os << "stream_id { " << stream_frame.stream_id << " } " |
+ << "fin { " << stream_frame.fin << " } " |
+ << "offset { " << stream_frame.offset << " } " |
+ << "data { " |
+ << QuicUtils::StringToHexASCIIDump(*(stream_frame.GetDataAsString())) |
+ << " }\n"; |
+ return os; |
+} |
+ |
+ostream& operator<<(ostream& os, const QuicRstStreamFrame& rst_frame) { |
+ os << "stream_id { " << rst_frame.stream_id << " } " |
+ << "error_code { " << rst_frame.error_code << " } " |
+ << "error_details { " << rst_frame.error_details << " }\n"; |
+ return os; |
+} |
+ |
CongestionFeedbackMessageFixRate::CongestionFeedbackMessageFixRate() |
: bitrate(QuicBandwidth::Zero()) { |
} |