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

Unified Diff: net/quic/quic_packet_creator.cc

Issue 1217273003: QUIC - debugging code to find crash in net::QuicPacket::FecProtectedData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « net/quic/quic_framer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_packet_creator.cc
diff --git a/net/quic/quic_packet_creator.cc b/net/quic/quic_packet_creator.cc
index 2003d0ea6b38ce70880ba5ee3434165e51e5009a..a8afaa7c4a31c0a89e941f95bdd7e3dd0deef7f5 100644
--- a/net/quic/quic_packet_creator.cc
+++ b/net/quic/quic_packet_creator.cc
@@ -463,10 +463,11 @@ SerializedPacket QuicPacketCreator::SerializePacket(
packet.reset(framer_->BuildDataPacket(header, queued_frames_,
large_buffer.get(), packet_size_));
}
- OnBuiltFecProtectedPayload(header, packet->FecProtectedData());
-
LOG_IF(DFATAL, packet == nullptr) << "Failed to serialize "
<< queued_frames_.size() << " frames.";
+
+ OnBuiltFecProtectedPayload(header, packet->FecProtectedData());
+
// Because of possible truncation, we can't be confident that our
// packet size calculation worked correctly.
if (!possibly_truncated_by_length) {
« no previous file with comments | « net/quic/quic_framer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698