| Index: net/http/http_stream_factory_impl.cc
|
| diff --git a/net/http/http_stream_factory_impl.cc b/net/http/http_stream_factory_impl.cc
|
| index 1236787a824c199e681f8883b6dcb51711cc0dc8..811782e840fb681fdc85b1e7f4cc5b7ca633a132 100644
|
| --- a/net/http/http_stream_factory_impl.cc
|
| +++ b/net/http/http_stream_factory_impl.cc
|
| @@ -257,11 +257,13 @@ void HttpStreamFactoryImpl::OnHttpPipelinedHostHasAdditionalCapacity(
|
| void HttpStreamFactoryImpl::AbortPipelinedRequestsWithKey(
|
| const Job* job, const HttpPipelinedHost::Key& key, int status,
|
| const SSLConfig& used_ssl_config) {
|
| - RequestSet requests_to_fail = http_pipelining_request_map_[key];
|
| - requests_to_fail.erase(request_map_[job]);
|
| - for (RequestSet::const_iterator it = requests_to_fail.begin();
|
| + RequestVector requests_to_fail = http_pipelining_request_map_[key];
|
| + for (RequestVector::const_iterator it = requests_to_fail.begin();
|
| it != requests_to_fail.end(); ++it) {
|
| Request* request = *it;
|
| + if (request == request_map_[job]) {
|
| + continue;
|
| + }
|
| request->OnStreamFailed(NULL, status, used_ssl_config);
|
| }
|
| }
|
|
|