Skip to content

Add stats values for failed handshakes.#1123

Merged
prbprbprb merged 1 commit into
google:masterfrom
prbprbprb:failed
Apr 1, 2023
Merged

Add stats values for failed handshakes.#1123
prbprbprb merged 1 commit into
google:masterfrom
prbprbprb:failed

Conversation

@prbprbprb

@prbprbprb prbprbprb commented Mar 31, 2023

Copy link
Copy Markdown
Contributor

Also handles translating ciphersuite names starting with the old JSSE standard of SSL_ to TLS_ which is used everywhere else. The last remaining such ciphersuite in Conscrypt is SSL_RSA_WITH_3DES_EDE_CBC_SHA so just test for it directly.

Comment thread common/src/main/java/org/conscrypt/metrics/CipherSuite.java
@prbprbprb prbprbprb merged commit 26d7492 into google:master Apr 1, 2023
prbprbprb pushed a commit to prbprbprb/conscrypt that referenced this pull request Apr 2, 2023
This is analogous to google#1120 and removes double-counting by only
counting metrics during explicit state changes.  There is a lot
more tidying up that could be done here, but as this class is
long deprecated, this change is kept to the minimum required to
ensure consistent counting between the EngineSocket and FdSocket.

Also incorporates the "failed" values from google#1123 to make analysis
clearer.

TODO(prb): Tested manually: We have no real tests to ensure
consistent stats counting.
prbprbprb added a commit that referenced this pull request Apr 3, 2023
This is analogous to #1120 and removes double-counting by only
counting metrics during explicit state changes.  There is a lot
more tidying up that could be done here, but as this class is
long deprecated, this change is kept to the minimum required to
ensure consistent counting between the EngineSocket and FdSocket.

Also incorporates the "failed" values from #1123 to make analysis
clearer.

TODO(prb): Tested manually: We have no real tests to ensure
consistent stats counting.
@prbprbprb prbprbprb deleted the failed branch May 23, 2023 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants