Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions doc/admin-guide/monitoring/statistics/core/ssl.en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ SSL/TLS
.. ts:stat:: global proxy.process.ssl.ssl_error_syscall integer
:type: counter

.. ts:stat:: global proxy.process.ssl.ssl_error_async integer
:type: counter

Track the number of times openssl async jobs paused.

.. ts:stat:: global proxy.process.ssl.ssl_session_cache_eviction integer
:type: counter

Expand Down
1 change: 1 addition & 0 deletions iocore/net/SSLNetVConnection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1364,6 +1364,7 @@ SSLNetVConnection::sslServerHandShakeEvent(int &err)

#if TS_USE_TLS_ASYNC
case SSL_ERROR_WANT_ASYNC:
SSL_INCREMENT_DYN_STAT(ssl_error_async);
return SSL_WAIT_FOR_ASYNC;
#endif

Expand Down
2 changes: 2 additions & 0 deletions iocore/net/SSLStats.cc
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ SSLInitializeStatistics()
(int)ssl_error_read_eos, RecRawStatSyncCount);
RecRegisterRawStat(ssl_rsb, RECT_PROCESS, "proxy.process.ssl.ssl_error_ssl", RECD_COUNTER, RECP_PERSISTENT, (int)ssl_error_ssl,
RecRawStatSyncCount);
RecRegisterRawStat(ssl_rsb, RECT_PROCESS, "proxy.process.ssl.ssl_error_async", RECD_COUNTER, RECP_PERSISTENT,
(int)ssl_error_async, RecRawStatSyncCount);
RecRegisterRawStat(ssl_rsb, RECT_PROCESS, "proxy.process.ssl.ssl_sni_name_set_failure", RECD_COUNTER, RECP_PERSISTENT,
(int)ssl_sni_name_set_failure, RecRawStatSyncCount);

Expand Down
1 change: 1 addition & 0 deletions iocore/net/SSLStats.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ enum SSL_Stats {
ssl_error_syscall,
ssl_error_read_eos,
ssl_error_ssl,
ssl_error_async,
ssl_sni_name_set_failure,
ssl_total_attempts_handshake_count_out_stat,
ssl_total_success_handshake_count_out_stat,
Expand Down