| Index: net/socket/ssl_client_socket_openssl.cc
|
| diff --git a/net/socket/ssl_client_socket_openssl.cc b/net/socket/ssl_client_socket_openssl.cc
|
| index c4af9575f1e447939f3e76fbce7f43fd4896cf92..391999fd99f65d6d7af4519a149abb5a799a9370 100644
|
| --- a/net/socket/ssl_client_socket_openssl.cc
|
| +++ b/net/socket/ssl_client_socket_openssl.cc
|
| @@ -18,7 +18,6 @@
|
| #include "base/environment.h"
|
| #include "base/memory/singleton.h"
|
| #include "base/metrics/histogram.h"
|
| -#include "base/metrics/sparse_histogram.h"
|
| #include "base/profiler/scoped_tracker.h"
|
| #include "base/strings/string_piece.h"
|
| #include "base/synchronization/lock.h"
|
| @@ -473,20 +472,23 @@ int SSLClientSocketOpenSSL::Connect(const CompletionCallback& callback) {
|
| int rv = Init();
|
| if (rv != OK) {
|
| net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SSL_CONNECT, rv);
|
| - UMA_HISTOGRAM_SPARSE_SLOWLY("Net.SSL_Connection_Error", std::abs(rv));
|
| return rv;
|
| }
|
|
|
| // Set SSL to client mode. Handshake happens in the loop below.
|
| SSL_set_connect_state(ssl_);
|
|
|
| + // Enable fastradio padding.
|
| + SSL_enable_fastradio_padding(ssl_,
|
| + ssl_config_.fastradio_padding_enabled &&
|
| + ssl_config_.fastradio_padding_eligible);
|
| +
|
| GotoState(STATE_HANDSHAKE);
|
| rv = DoHandshakeLoop(OK);
|
| if (rv == ERR_IO_PENDING) {
|
| user_connect_callback_ = callback;
|
| } else {
|
| net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SSL_CONNECT, rv);
|
| - UMA_HISTOGRAM_SPARSE_SLOWLY("Net.SSL_Connection_Error", std::abs(rv));
|
| if (rv < OK)
|
| OnHandshakeCompletion();
|
| }
|
| @@ -1366,7 +1368,6 @@ void SSLClientSocketOpenSSL::OnHandshakeIOComplete(int result) {
|
| int rv = DoHandshakeLoop(result);
|
| if (rv != ERR_IO_PENDING) {
|
| net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SSL_CONNECT, rv);
|
| - UMA_HISTOGRAM_SPARSE_SLOWLY("Net.SSL_Connection_Error", std::abs(rv));
|
| DoConnectCallback(rv);
|
| }
|
| }
|
|
|