You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by wk...@apache.org on 2023/03/01 02:24:04 UTC

[trafficserver] 04/04: TEMP

This is an automated email from the ASF dual-hosted git repository.

wkaras pushed a commit to branch tunnel_stats
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 6c362de70cd75daad647914c2081347b1b9ef9f4
Author: Walt Karas <wk...@yahooinc.com>
AuthorDate: Wed Mar 1 02:23:31 2023 +0000

    TEMP
---
 iocore/net/SSLNetVConnection.cc | 32 +++++++++++++++++---------------
 1 file changed, 17 insertions(+), 15 deletions(-)

diff --git a/iocore/net/SSLNetVConnection.cc b/iocore/net/SSLNetVConnection.cc
index 3a3c648e9..e8630badb 100644
--- a/iocore/net/SSLNetVConnection.cc
+++ b/iocore/net/SSLNetVConnection.cc
@@ -1024,14 +1024,15 @@ SSLNetVConnection::free(EThread *t)
     } else { // NET_VCONNECTION_OUT
       switch (get_tunnel_type()) {
       case SNIRoutingType::BLIND:
-        c = tunnel_current_server_connections_tls_tunnel_stat;
-        break;
+        // c = tunnel_current_server_connections_tls_tunnel_stat;
+        // break;
       case SNIRoutingType::FORWARD:
-        c = tunnel_current_server_connections_tls_forward_stat;
-        break;
+        // c = tunnel_current_server_connections_tls_forward_stat;
+        // break;
       case SNIRoutingType::PARTIAL_BLIND:
-        c = tunnel_current_server_connections_tls_partial_blind_stat;
-        break;
+        // c = tunnel_current_server_connections_tls_partial_blind_stat;
+        // break;
+        ink_release_assert(false);
       default:
         c = tunnel_current_server_connections_tls_http_stat;
         break;
@@ -1990,17 +1991,18 @@ SSLNetVConnection::_out_context_tunnel()
 
   switch (get_tunnel_type()) {
   case SNIRoutingType::BLIND:
-    t = tunnel_total_server_connections_tls_tunnel_stat;
-    c = tunnel_current_server_connections_tls_tunnel_stat;
-    break;
+    // t = tunnel_total_server_connections_tls_tunnel_stat;
+    // c = tunnel_current_server_connections_tls_tunnel_stat;
+    // break;
   case SNIRoutingType::FORWARD:
-    t = tunnel_total_server_connections_tls_forward_stat;
-    c = tunnel_current_server_connections_tls_forward_stat;
-    break;
+    // t = tunnel_total_server_connections_tls_forward_stat;
+    // c = tunnel_current_server_connections_tls_forward_stat;
+    // break;
   case SNIRoutingType::PARTIAL_BLIND:
-    t = tunnel_total_server_connections_tls_partial_blind_stat;
-    c = tunnel_current_server_connections_tls_partial_blind_stat;
-    break;
+    // t = tunnel_total_server_connections_tls_partial_blind_stat;
+    // c = tunnel_current_server_connections_tls_partial_blind_stat;
+    // break;
+    ink_release_assert(false);
   default:
     t = tunnel_total_server_connections_tls_http_stat;
     c = tunnel_current_server_connections_tls_http_stat;