|
Retry upon 421 status code without IP pooling.
Implement logic in HttpNetworkTransaction to retry a request at most
once with IP pooling disabled if status code 421 Misdirected Request is
received in the response.
Add ERR_MISDIRECTED_REQUEST, which is used within
HttpNetworkTransaction, and is also logged in NetLog event
HTTP_TRANSACTION_RESTART_AFTER_ERROR.
Plumb |enable_ip_based_pooling| from HttpNetworkTransaction through
HttpStreamRequest::RequestStream() through
HttpStreamFactoryImpl::JobController::JobController() through
HttpStreamFactoryImpl::JobFactory::CreateJob() through
HttpStreamFactoryImpl::Job::Job() to
SpdySessionPool::FindAvailableSession().
Add HttpNetworkTransactionTest.
Add extra check in SpdySessionPoolTest::RunIPPoolingTest().
BUG= 546991
Review-Url: https://codereview.chromium.org/2771263002
Cr-Commit-Position: refs/heads/master@{#460996}
Committed: https://chromium.googlesource.com/chromium/src/+/8016c1f6899aaf53e3cc81d29cc9c8306b6e9927
Total comments: 17
Total comments: 1
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+300 lines, -83 lines) |
Patch |
|
M |
net/base/net_error_list.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/http/bidirectional_stream.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
net/http/http_network_transaction.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/http/http_network_transaction.cc
|
View
|
1
|
4 chunks |
+24 lines, -17 lines |
2 comments
|
Download
|
|
M |
net/http/http_network_transaction_unittest.cc
|
View
|
1
|
4 chunks |
+134 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/http/http_stream_factory.h
|
View
|
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/http/http_stream_factory_impl.h
|
View
|
1
2
|
4 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/http/http_stream_factory_impl.cc
|
View
|
1
2
|
8 chunks |
+22 lines, -10 lines |
0 comments
|
Download
|
|
M |
net/http/http_stream_factory_impl_job.h
|
View
|
|
7 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/http/http_stream_factory_impl_job.cc
|
View
|
1
2
|
9 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
net/http/http_stream_factory_impl_job_controller.h
|
View
|
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
net/http/http_stream_factory_impl_job_controller.cc
|
View
|
1
2
|
5 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
net/http/http_stream_factory_impl_job_controller_unittest.cc
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
net/http/http_stream_factory_impl_request_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
net/http/http_stream_factory_impl_unittest.cc
|
View
|
1
2
|
29 chunks |
+37 lines, -30 lines |
0 comments
|
Download
|
|
M |
net/http/http_stream_factory_test_util.h
|
View
|
|
5 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/http/http_stream_factory_test_util.cc
|
View
|
|
8 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
|
M |
net/spdy/spdy_session_pool_unittest.cc
|
View
|
1
2
|
2 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
Total messages: 26 (14 generated)
|