Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(866)

Unified Diff: net/quic/quic_connection.cc

Issue 15951002: QUIC - Added StringToHexASCIIDump to return a hex+ASCII dump in the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing windows build error Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/quic/quic_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.cc
diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
index be0c1eb651686c5d63fdf8c19ac60523117459f7..63369eb5d016ae8b70a653842a61eec42fe1ccae 100644
--- a/net/quic/quic_connection.cc
+++ b/net/quic/quic_connection.cc
@@ -1040,9 +1040,8 @@ bool QuicConnection::WritePacket(EncryptionLevel level,
<< ", encryption level: "
<< QuicUtils::EncryptionLevelToString(level)
<< ", length:" << packet->length();
- // TODO(rtenneti): Get StringToHexASCIIDump of packet.
DVLOG(2) << ENDPOINT << "packet(" << sequence_number << "): " << std::endl
- << packet->AsStringPiece();
+ << QuicUtils::StringToHexASCIIDump(packet->AsStringPiece());
DCHECK(encrypted->length() <= kMaxPacketSize)
<< "Packet " << sequence_number << " will not be read; too large: "
« no previous file with comments | « no previous file | net/quic/quic_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698