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

Unified Diff: net/spdy/spdy_http_stream.cc

Issue 9958023: Properly handle spdy3 responses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 9 months 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
« no previous file with comments | « net/http/http_proxy_client_socket_pool_spdy3_unittest.cc ('k') | net/spdy/spdy_http_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_http_stream.cc
diff --git a/net/spdy/spdy_http_stream.cc b/net/spdy/spdy_http_stream.cc
index e6b83c577d1a17d04f818cdcff108ac8c2415851..cdda4f2f9a085f6d193d35c9f68cf5278896576d 100644
--- a/net/spdy/spdy_http_stream.cc
+++ b/net/spdy/spdy_http_stream.cc
@@ -348,7 +348,8 @@ int SpdyHttpStream::OnResponseReceived(const SpdyHeaderBlock& response,
// to first byte.
response_info_->response_time = base::Time::Now();
- if (!SpdyHeadersToHttpResponse(response, response_info_)) {
+ if (!SpdyHeadersToHttpResponse(response, stream_->GetProtocolVersion(),
+ response_info_)) {
// We might not have complete headers yet.
return ERR_INCOMPLETE_SPDY_HEADERS;
}
« no previous file with comments | « net/http/http_proxy_client_socket_pool_spdy3_unittest.cc ('k') | net/spdy/spdy_http_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698