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

Unified Diff: net/quic/quic_per_connection_packet_writer.cc

Issue 497553004: Landing Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase with TOT Created 6 years, 4 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_packet_generator.h ('k') | net/quic/quic_protocol.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_per_connection_packet_writer.cc
diff --git a/net/quic/quic_per_connection_packet_writer.cc b/net/quic/quic_per_connection_packet_writer.cc
index efb4feccd7edc418335e56bba172e6360db80c55..8dac0fceef1f2df3ad7f235e089d320e7c4321d9 100644
--- a/net/quic/quic_per_connection_packet_writer.cc
+++ b/net/quic/quic_per_connection_packet_writer.cc
@@ -50,7 +50,9 @@ void QuicPerConnectionPacketWriter::SetWritable() {
}
void QuicPerConnectionPacketWriter::OnWriteComplete(WriteResult result) {
- connection_->OnPacketSent(result);
+ if (result.status == WRITE_STATUS_ERROR) {
+ connection_->OnWriteError(result.error_code);
+ }
}
} // namespace net
« no previous file with comments | « net/quic/quic_packet_generator.h ('k') | net/quic/quic_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698