Chromium Code Reviews| Index: net/quic/quic_framer.cc |
| diff --git a/net/quic/quic_framer.cc b/net/quic/quic_framer.cc |
| index 545bfa5a9c63bfb14ae90aeebe82285f58d75e65..833791096b91f8d7a1c6a60040230be5525e45b0 100644 |
| --- a/net/quic/quic_framer.cc |
| +++ b/net/quic/quic_framer.cc |
| @@ -15,6 +15,7 @@ |
| #include "net/quic/quic_data_writer.h" |
| #include "net/quic/quic_flags.h" |
| #include "net/quic/quic_socket_address_coder.h" |
| +#include "net/quic/quic_utils.h" |
| using base::StringPiece; |
| using std::map; |
| @@ -745,7 +746,10 @@ bool QuicFramer::AppendPacketHeader(const QuicPacketHeader& header, |
| if (header.public_header.version_flag) { |
| DCHECK_EQ(Perspective::IS_CLIENT, perspective_); |
| - writer->WriteUInt32(QuicVersionToQuicTag(quic_version_)); |
| + QuicTag tag = QuicVersionToQuicTag(quic_version_); |
| + writer->WriteUInt32(tag); |
| + DVLOG(1) << "version = " << quic_version_ |
| + << ", tag = '" << QuicUtils::TagToString(tag) << "'"; |
|
ramant (doing other things)
2015/03/28 13:56:56
nit: indentation on line 752.
|
| } |
| if (!AppendPacketSequenceNumber(header.public_header.sequence_number_length, |