diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/http/http_pipelined_stream.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/http/http_pipelined_stream.cc b/net/http/http_pipelined_stream.cc index 2183c52..6b844a6 100644 --- a/net/http/http_pipelined_stream.cc +++ b/net/http/http_pipelined_stream.cc @@ -71,8 +71,10 @@ void HttpPipelinedStream::Close(bool not_reusable) { } HttpStream* HttpPipelinedStream::RenewStreamForAuth() { - // FIXME: What does this mean on a pipeline? Is it for proxies? - return new HttpPipelinedStream(pipeline_, pipeline_id_); + if (pipeline_->usable()) { + return pipeline_->CreateNewStream(); + } + return NULL; } bool HttpPipelinedStream::IsResponseBodyComplete() const { |