Chromium Code Reviews| Index: net/spdy/spdy_http_stream.cc |
| diff --git a/net/spdy/spdy_http_stream.cc b/net/spdy/spdy_http_stream.cc |
| index 7ae844133890cad55135488700abe4d6ba9e650b..25be33212ec057870d6377fb177d0669dbf2bd3b 100644 |
| --- a/net/spdy/spdy_http_stream.cc |
| +++ b/net/spdy/spdy_http_stream.cc |
| @@ -424,6 +424,7 @@ void SpdyHttpStream::OnRequestBodyReadCompleted(int status) { |
| CHECK_GE(status, 0); |
| request_body_buf_size_ = status; |
| const bool eof = request_info_->upload_data_stream->IsEOF(); |
| + // Only the final fame may have a length of 0. |
|
mef
2014/08/26 12:58:40
nit: fame -> frame. :)
|
| if (eof) { |
| CHECK_GE(request_body_buf_size_, 0); |
| } else { |