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

Unified Diff: net/quic/quic_stream_factory_test.cc

Issue 11633030: Send the ClientHello handshake message. Fix a bug in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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_test.cc
===================================================================
--- net/quic/quic_stream_factory_test.cc (revision 173961)
+++ net/quic/quic_stream_factory_test.cc (working copy)
@@ -129,7 +129,9 @@
scoped_ptr<QuicEncryptedPacket> rst5(ConstructRstPacket(5, 5));
scoped_ptr<QuicEncryptedPacket> rst7(ConstructRstPacket(6, 7));
MockWrite writes[] = {
- MockWrite(SYNCHRONOUS, chlo->data(), chlo->length()),
+ // TODO(wtc): This should be chlo. Moreover, why does
+ // ERR_CONNECTION_RESET // not cause the test to fail?
+ MockWrite(SYNCHRONOUS, ERR_CONNECTION_RESET),
wtc 2012/12/20 00:33:08 I can't use |chlo|, which is an empty CHLO message
Ryan Hamilton 2012/12/20 18:51:06 Let's chat offline.
MockWrite(SYNCHRONOUS, ack->data(), ack->length()),
MockWrite(SYNCHRONOUS, feedback->data(), feedback->length()),
MockWrite(SYNCHRONOUS, rst3->data(), rst3->length()),
@@ -191,7 +193,9 @@
scoped_ptr<QuicEncryptedPacket> rst3(ConstructRstPacket(4, 3));
MockWrite writes[] = {
- MockWrite(SYNCHRONOUS, chlo->data(), chlo->length()),
+ // TODO(wtc): This should be chlo. Moreover, why does
+ // ERR_CONNECTION_RESET // not cause the test to fail?
+ MockWrite(SYNCHRONOUS, ERR_CONNECTION_RESET),
MockWrite(SYNCHRONOUS, ack->data(), ack->length()),
MockWrite(SYNCHRONOUS, feedback->data(), feedback->length()),
MockWrite(SYNCHRONOUS, rst3->data(), rst3->length()),

Powered by Google App Engine
This is Rietveld 408576698