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

Unified Diff: net/tools/quic/quic_time_wait_list_manager.cc

Issue 340433002: Port QuicServer to Chrome network stack (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments and fix blocked writers using callbacks Created 6 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
Index: net/tools/quic/quic_time_wait_list_manager.cc
diff --git a/net/tools/quic/quic_time_wait_list_manager.cc b/net/tools/quic/quic_time_wait_list_manager.cc
index 9744ff89e5370e09ce144bb01105e73cb84867c5..01446c08825717bb802b8e32ce3e326b70f0b1e2 100644
--- a/net/tools/quic/quic_time_wait_list_manager.cc
+++ b/net/tools/quic/quic_time_wait_list_manager.cc
@@ -233,7 +233,8 @@ bool QuicTimeWaitListManager::WriteToWire(QueuedPacket* queued_packet) {
queued_packet->packet()->data(),
queued_packet->packet()->length(),
queued_packet->server_address().address(),
- queued_packet->client_address());
+ queued_packet->client_address(),
+ base::Callback<void(WriteResult wr)>());
if (result.status == WRITE_STATUS_BLOCKED) {
// If blocked and unbuffered, return false to retry sending.
DCHECK(writer_->IsWriteBlocked());

Powered by Google App Engine
This is Rietveld 408576698