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

Unified Diff: net/quic/quic_connection.cc

Issue 898243002: Adding more error logging for failed QUIC writes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Further_cleanup_to_QuicAckNotifier_84784925
Patch Set: Created 5 years, 10 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 | no next file » | 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 be82bff04eb1d1a116fc1142f9d4dee580287a47..2dc3ca91ad841d9bc1bf506efe497aa3932d95c9 100644
--- a/net/quic/quic_connection.cc
+++ b/net/quic/quic_connection.cc
@@ -1543,6 +1543,10 @@ bool QuicConnection::WritePacketInner(QueuedPacket* packet) {
if (result.status == WRITE_STATUS_ERROR) {
OnWriteError(result.error_code);
+ DLOG(ERROR) << ENDPOINT << "failed writing " << encrypted->length()
+ << "bytes "
+ << " from host " << self_address().ToStringWithoutPort()
+ << " to address " << peer_address().ToString();
return false;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698