|
|
Reland my ClientSocketPool refactor again...
The bug was that the handle was getting reused, so the ConnectingSocket doesn't know that it got canceled. It just keeps chugging away.
I added a map to keep track of the ConnectingSockets so they can be canceled if we detect a reuse.
TBR=wtc
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=17606
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+901 lines, -377 lines) |
Patch |
 |
M |
base/stl_util-inl.h
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/base/client_socket_handle.h
|
View
|
|
2 chunks |
+36 lines, -18 lines |
0 comments
|
Download
|
 |
M |
net/base/client_socket_handle.cc
|
View
|
|
1 chunk |
+42 lines, -9 lines |
0 comments
|
Download
|
 |
M |
net/base/client_socket_pool.h
|
View
|
|
7 chunks |
+101 lines, -32 lines |
0 comments
|
Download
|
 |
M |
net/base/client_socket_pool.cc
|
View
|
|
9 chunks |
+262 lines, -33 lines |
0 comments
|
Download
|
 |
M |
net/base/client_socket_pool_unittest.cc
|
View
|
|
8 chunks |
+276 lines, -88 lines |
0 comments
|
Download
|
 |
M |
net/base/test_completion_callback.h
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/http/http_network_layer.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/http/http_network_session.h
|
View
|
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_transaction.h
|
View
|
|
4 chunks |
+24 lines, -27 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_transaction.cc
|
View
|
|
12 chunks |
+31 lines, -103 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_transaction_unittest.cc
|
View
|
|
37 chunks |
+114 lines, -63 lines |
0 comments
|
Download
|
Total messages: 2 (0 generated)
|