| Index: net/tools/quic/quic_simple_server_stream.cc
|
| diff --git a/net/tools/quic/quic_simple_server_stream.cc b/net/tools/quic/quic_simple_server_stream.cc
|
| index 685955f3c616e588c734a2cca4b58fe1719eec11..b9dd897fcd349605144c3c8841175d6a46ada551 100644
|
| --- a/net/tools/quic/quic_simple_server_stream.cc
|
| +++ b/net/tools/quic/quic_simple_server_stream.cc
|
| @@ -234,9 +234,7 @@ void QuicSimpleServerStream::SendHeadersAndBodyAndTrailers(
|
| SpdyHeaderBlock response_headers,
|
| StringPiece body,
|
| SpdyHeaderBlock response_trailers) {
|
| - // This server only supports SPDY and HTTP, and neither handles bidirectional
|
| - // streaming.
|
| - if (!reading_stopped()) {
|
| + if (!allow_bidirectional_data() && !reading_stopped()) {
|
| StopReading();
|
| }
|
|
|
|
|