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

Unified Diff: net/quic/quic_stream_factory.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/quic/quic_stream_factory.cc
diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc
index 9acedcbddb8dea9aa6347d5003d823572ab5b20b..d5a7f878103853fb9bc4a75a532044fe529855b4 100644
--- a/net/quic/quic_stream_factory.cc
+++ b/net/quic/quic_stream_factory.cc
@@ -825,7 +825,7 @@ int QuicStreamFactory::CreateSession(
QuicConnection* connection =
new QuicConnection(connection_id, addr, helper_.get(), writer.get(),
false, supported_versions_);
- writer->SetConnection(connection);
+ writer->SetWriterToUnblock(connection);
connection->set_max_packet_length(max_packet_length_);
InitializeCachedStateInCryptoConfig(server_id, server_info);

Powered by Google App Engine
This is Rietveld 408576698