Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Issue 301283004: Add tests for session cache and false start behavior. (Closed)

Created:
6 years, 6 months ago by davidben
Modified:
6 years, 6 months ago
Reviewers:
agl, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Add tests for session cache and false start behavior. False start should not disable the session cache, but if we never process the server Finished message, the session cannot be resumed. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276815

Patch Set 1 #

Patch Set 2 : Fix win/mac failures. #

Total comments: 10

Patch Set 3 : sleevi comments #

Total comments: 10

Patch Set 4 : sleevi comments #

Total comments: 2

Patch Set 5 : Revise comment. #

Patch Set 6 : Rebase and appease MSVC #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -30 lines) Patch
M net/socket/ssl_client_socket_unittest.cc View 1 2 3 4 5 6 chunks +142 lines, -29 lines 0 comments Download
M third_party/tlslite/README.chromium View 1 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/tlslite/patches/ignore_write_failure.patch View 1 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/tlslite/tlslite/tlsrecordlayer.py View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 22 (0 generated)
davidben
6 years, 6 months ago (2014-05-30 22:28:00 UTC) #1
Ryan Sleevi
https://codereview.chromium.org/301283004/diff/2/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://codereview.chromium.org/301283004/diff/2/net/socket/ssl_client_socket_unittest.cc#newcode722 net/socket/ssl_client_socket_unittest.cc:722: void CreateAndConnectUpToServerFinished( s/UpToServerFinished/UntilServerFinishedReceived? The "UpTo" bit read weird at ...
6 years, 6 months ago (2014-05-31 00:46:11 UTC) #2
davidben
https://codereview.chromium.org/301283004/diff/2/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://codereview.chromium.org/301283004/diff/2/net/socket/ssl_client_socket_unittest.cc#newcode722 net/socket/ssl_client_socket_unittest.cc:722: void CreateAndConnectUpToServerFinished( On 2014/05/31 00:46:11, Ryan Sleevi wrote: > ...
6 years, 6 months ago (2014-06-02 18:45:38 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/301283004/diff/30001/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://codereview.chromium.org/301283004/diff/30001/net/socket/ssl_client_socket_unittest.cc#newcode670 net/socket/ssl_client_socket_unittest.cc:670: scoped_ptr<SpawnedTestServer> test_server_; You don't actually need to expose these ...
6 years, 6 months ago (2014-06-02 20:52:45 UTC) #4
davidben
https://codereview.chromium.org/301283004/diff/30001/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://codereview.chromium.org/301283004/diff/30001/net/socket/ssl_client_socket_unittest.cc#newcode670 net/socket/ssl_client_socket_unittest.cc:670: scoped_ptr<SpawnedTestServer> test_server_; On 2014/06/02 20:52:45, Ryan Sleevi wrote: > ...
6 years, 6 months ago (2014-06-03 19:02:47 UTC) #5
Ryan Sleevi
LGTM, % comment nit. https://codereview.chromium.org/301283004/diff/50001/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://codereview.chromium.org/301283004/diff/50001/net/socket/ssl_client_socket_unittest.cc#newcode806 net/socket/ssl_client_socket_unittest.cc:806: // the handshake returns. The ...
6 years, 6 months ago (2014-06-11 00:15:06 UTC) #6
davidben
https://codereview.chromium.org/301283004/diff/50001/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://codereview.chromium.org/301283004/diff/50001/net/socket/ssl_client_socket_unittest.cc#newcode806 net/socket/ssl_client_socket_unittest.cc:806: // the handshake returns. On 2014/06/11 00:15:06, Ryan Sleevi ...
6 years, 6 months ago (2014-06-11 16:31:40 UTC) #7
davidben
The CQ bit was checked by davidben@chromium.org
6 years, 6 months ago (2014-06-11 16:32:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/301283004/70001
6 years, 6 months ago (2014-06-11 16:35:18 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 20:19:37 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 20:40:10 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/26065)
6 years, 6 months ago (2014-06-11 20:40:11 UTC) #12
davidben
On 2014/06/11 20:40:11, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 6 months ago (2014-06-11 20:41:47 UTC) #13
davidben
The CQ bit was checked by davidben@chromium.org
6 years, 6 months ago (2014-06-11 20:41:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/301283004/90001
6 years, 6 months ago (2014-06-11 20:44:50 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_dbg_simulator on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 22:08:52 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 22:18:18 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/21901) mac_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_compile_dbg/builds/31404)
6 years, 6 months ago (2014-06-11 22:18:19 UTC) #18
davidben
The CQ bit was checked by davidben@chromium.org
6 years, 6 months ago (2014-06-12 17:44:53 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/301283004/90001
6 years, 6 months ago (2014-06-12 17:47:47 UTC) #20
commit-bot: I haz the power
Change committed as 276815
6 years, 6 months ago (2014-06-12 21:56:11 UTC) #21
please use gerrit instead
6 years, 6 months ago (2014-06-12 23:47:43 UTC) #22
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/332523008/ by rouslan@chromium.org.

The reason for reverting is: This patch may have broken
http://build.chromium.org/p/chromium.mac/builders/Mac%2010.7%20Tests%20%28dbg...,
but we're not confident. The failure is in libjingle_unittests, e.g.
ChromeAsyncSocketTest.DoubleSSLConnect. Sorry for the inconvenience. .

Powered by Google App Engine
This is Rietveld 408576698