|
Reland 54771 (and 54795) To enable TCP Preconnection by default
I added defensive code in ClientSocketHandle::ReleaseSocket(),
which should preclude the crash that was reported on the
stability bot.
I added a second call to ReleaseSocket() from
~ClientSocketHandle to ensure that we updated the
related ClientSocket when we are torn down.
r=mbelshe
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55071
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+224 lines, -38 lines) |
Patch |
 |
M |
chrome/browser/browser_main.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/net/preconnect.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+19 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/preconnect.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+43 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/predictor.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/predictor.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/net.gyp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
A |
net/socket/client_socket.cc
|
View
|
1
2
3
4
6
7
8
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_handle.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+10 lines, -1 line |
0 comments
|
Download
|
 |
MM |
net/socket/client_socket_handle.cc
|
View
|
7
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_pool_base.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|