Index: net/spdy/buffered_spdy_framer.cc |
diff --git a/net/spdy/buffered_spdy_framer.cc b/net/spdy/buffered_spdy_framer.cc |
index 5b95be2af2921c21c1a7d9b1d27a7525275791df..8424a15e64d0ba6b15fc03187186ed138f0b1b60 100644 |
--- a/net/spdy/buffered_spdy_framer.cc |
+++ b/net/spdy/buffered_spdy_framer.cc |
@@ -298,7 +298,9 @@ SpdyFrame* BufferedSpdyFramer::CreateSynReply( |
SpdyFrame* BufferedSpdyFramer::CreateRstStream( |
SpdyStreamId stream_id, |
SpdyRstStreamStatus status) const { |
- SpdyRstStreamIR rst_ir(stream_id, status, "RST"); |
+ // RST_STREAM payloads are not part of any SPDY spec. |
+ // SpdyFramer will accept them, but don't create them. |
+ SpdyRstStreamIR rst_ir(stream_id, status, ""); |
return spdy_framer_.SerializeRstStream(rst_ir); |
} |