Index: net/quic/quic_http_stream_test.cc |
diff --git a/net/quic/quic_http_stream_test.cc b/net/quic/quic_http_stream_test.cc |
index a49d6bbb7adcc9edf4d98e2d0beebd32b3dd7229..60f99fb2437fd69349b18b648c1c3a06cfd8ceab 100644 |
--- a/net/quic/quic_http_stream_test.cc |
+++ b/net/quic/quic_http_stream_test.cc |
@@ -611,7 +611,8 @@ TEST_P(QuicHttpStreamTest, DestroyedEarly) { |
} else { |
AddWrite(ConstructDataPacket(1, kIncludeVersion, kFin, 0, request_data_)); |
} |
- AddWrite(ConstructRstStreamPacket(2)); |
+ // TODO(rtenneti): Looks like the following is not needed. |
+ // AddWrite(ConstructRstStreamPacket(2)); |
Ryan Hamilton
2014/01/27 19:08:02
Do you understand why the RST_STREAM packet is not
ramant (doing other things)
2014/01/29 00:40:19
Thanks for your help. Undid this change. Replaced
|
use_closing_stream_ = true; |
Initialize(); |
@@ -631,6 +632,7 @@ TEST_P(QuicHttpStreamTest, DestroyedEarly) { |
// Send the response with a body. |
SetResponse("404 OK", "hello world!"); |
+ ProcessPacket(ConstructAckPacket(2, 0, 0)); |
// In the course of processing this packet, the QuicHttpStream close itself. |
if (GetParam() > QUIC_VERSION_12) { |
ProcessPacket(ConstructResponseHeadersPacket(2, kFin)); |
@@ -648,7 +650,8 @@ TEST_P(QuicHttpStreamTest, Priority) { |
} else { |
AddWrite(ConstructDataPacket(1, kIncludeVersion, kFin, 0, request_data_)); |
} |
- AddWrite(ConstructRstStreamPacket(2)); |
+ // TODO(rtenneti): Looks like the following is not needed. |
+ // AddWrite(ConstructRstStreamPacket(2)); |
use_closing_stream_ = true; |
Initialize(); |
@@ -680,6 +683,7 @@ TEST_P(QuicHttpStreamTest, Priority) { |
// Send the response with a body. |
SetResponse("404 OK", "hello world!"); |
+ ProcessPacket(ConstructAckPacket(2, 0, 0)); |
// In the course of processing this packet, the QuicHttpStream close itself. |
if (GetParam() > QUIC_VERSION_12) { |
ProcessPacket(ConstructResponseHeadersPacket(2, kFin)); |