Split DoHandshake into DoHandshake and DoHandshakeComplete.
The rv == 1 case was getting a little unwieldy. This should hopefully be simpler. DoHandshake converts the error to a net error code and decides which state to transition to. DoHandshakeComplete handles the result of the handshake. BUG=none Review URL: https://codereview.chromium.org/1126113004 Cr-Commit-Position: refs/heads/master@{#329518}
Showing
Please register or sign in to comment