diff options
-rw-r--r-- | net/http/http_stream_request.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_stream_request.cc b/net/http/http_stream_request.cc index d979e0a..b59366c 100644 --- a/net/http/http_stream_request.cc +++ b/net/http/http_stream_request.cc @@ -669,7 +669,7 @@ int HttpStreamRequest::DoCreateStream() { // We only set the socket motivation if we're the first to use // this socket. Is there a race for two SPDY requests? We really // need to plumb this through to the connect level. - if (connection_.get() && connection_->is_reused()) + if (connection_.get() && !connection_->is_reused()) SetSocketMotivation(); if (!using_spdy_) { |